X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/571d2e0f232be3f7220c485c7e72eccfb87f2855..05e0b047d879cdbfade7f2ab346c0acdf3e29f96:/samples/artprov/arttest.cpp?ds=sidebyside diff --git a/samples/artprov/arttest.cpp b/samples/artprov/arttest.cpp index 9a69a2535f..45c5d1f45f 100644 --- a/samples/artprov/arttest.cpp +++ b/samples/artprov/arttest.cpp @@ -96,6 +96,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("wxArtProvider sample"), wxPoint(50, 50), wxSize(450, 340));