]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/popup/popup.cpp
STC is not a separate library anymore
[wxWidgets.git] / samples / popup / popup.cpp
index a1ae9ed6cad879067c7c6c2028cbc57a8845e706..14075eaae7af5bdfed1a47112b4af5a0ea82ebc4 100644 (file)
@@ -289,6 +289,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
     m_frame = new MyFrame(_T("Popup wxWidgets App"));