]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/checklst/checklst.cpp
searching for plugins in XRCEDPATH
[wxWidgets.git] / samples / checklst / checklst.cpp
index a6e13a446725a5d0df3a942141f29e9cf42ccce6..97ae0b012064fc394edec240cd0d0eb4288fda96 100644 (file)
@@ -151,6 +151,9 @@ IMPLEMENT_APP(CheckListBoxApp)
 // init our app: create windows
 bool CheckListBoxApp::OnInit(void)
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     CheckListBoxFrame *pFrame = new CheckListBoxFrame
                                     (
                                      NULL,