]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sound/sound.cpp
Have support for both char* and wchar_t* in wxPGPropArg. Moved wxPGPropArgCls member...
[wxWidgets.git] / samples / sound / sound.cpp
index a517d1a4059b9cf1a4ff7282d77f10a5a5241d8d..4c4c869c8368bf26f32ed8a56f4f9269eb00b9d3 100644 (file)
@@ -159,6 +159,9 @@ IMPLEMENT_APP(MyApp)
 // 'Main program' equivalent: the program execution "starts" here
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     // create the main application window
     MyFrame *frame = new MyFrame(_T("wxWidgets Sound Sample"));