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