]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/cube/cube.cpp
removed dll export declaration for wxCStrData: it's unneeded because the class is...
[wxWidgets.git] / samples / opengl / cube / cube.cpp
index 66bac043e0ea2b2e13dcd9b2f55af4e062ce70ad..f711216626c9e279b4a409573bbbcdaef63c155d 100644 (file)
@@ -9,11 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma implementation
-#pragma interface
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -526,6 +521,9 @@ IMPLEMENT_APP(MyApp)
 
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     // Create the main frame window
     (void) MyFrame::Create(NULL);