- fix wx 2.8 support

This commit is contained in:
SoftCoder 2016-01-22 22:33:08 -08:00
parent b76f8f1e2f
commit 06cc22fd8f
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ void MainWindow::init(string fname) {
#elif wxCHECK_VERSION(2, 9, 1)
#else
glCanvas->SetCurrent();
if(glCanvas) glCanvas->SetCurrent();
//printf("setcurrent #2\n");
#endif