- fix wx 2.8
This commit is contained in:
parent
4da1425cbc
commit
b76f8f1e2f
|
@ -583,7 +583,7 @@ void MainWindow::init() {
|
|||
#elif wxCHECK_VERSION(2, 9, 1)
|
||||
|
||||
#else
|
||||
glCanvas->SetCurrent();
|
||||
if(glCanvas) glCanvas->SetCurrent();
|
||||
//printf("setcurrent #2\n");
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue