]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/cube/cube.cpp
Use our own getters and properties for wxVisualAttributes
[wxWidgets.git] / samples / opengl / cube / cube.cpp
index 20fb88d2be971a8fdb52a3ceb606d7b4437bd593..f711216626c9e279b4a409573bbbcdaef63c155d 100644 (file)
@@ -521,6 +521,9 @@ IMPLEMENT_APP(MyApp)
 
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     // Create the main frame window
     (void) MyFrame::Create(NULL);