]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sashtest/sashtest.cpp
more order in wxCRT_filefunctions: define A and W versions, just as for everything...
[wxWidgets.git] / samples / sashtest / sashtest.cpp
index fb3accf647ba590158665905b710b3ff626a4c8c..16dd9ff1860f45154cfae81a45099f44c54d7da5 100644 (file)
@@ -40,6 +40,9 @@ int winNumber = 1;
 // Initialise this in OnInit, not statically
 bool MyApp::OnInit(void)
 {
+  if ( !wxApp::OnInit() )
+    return false;
+
   // Create the main frame window
 
   frame = new MyFrame(NULL, wxID_ANY, _T("Sash Demo"), wxPoint(0, 0), wxSize(500, 400),