X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1dcb1a0b409e12a7ce98fcddde0eb74c10b52ec..09ac36f80b4bedc3e5ae3d37c20c2a8e5e970ae2:/samples/checklst/checklst.cpp diff --git a/samples/checklst/checklst.cpp b/samples/checklst/checklst.cpp index a6e13a4467..97ae0b0120 100644 --- a/samples/checklst/checklst.cpp +++ b/samples/checklst/checklst.cpp @@ -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,