]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mediaplayer/mediaplayer.cpp
added support for wxTE_NO_VSCROLL (patch 1588605) and documented its behaviour
[wxWidgets.git] / samples / mediaplayer / mediaplayer.cpp
index 7b0e93fc0c8e0f8f2bb4e32027900a058824cebe..7b94f1ff19feeb92fea3c06c0f70c8448ca938f6 100644 (file)
@@ -409,6 +409,9 @@ IMPLEMENT_APP(wxMediaPlayerApp)
 // ----------------------------------------------------------------------------
 bool wxMediaPlayerApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     // SetAppName() lets wxConfig and others know where to write
     SetAppName(wxT("wxMediaPlayer"));