- fix wx 2.8

This commit is contained in:
SoftCoder 2016-01-22 18:08:47 -08:00
parent 4da1425cbc
commit b76f8f1e2f
1 changed files with 1 additions and 1 deletions

View File

@ -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
}