X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/41271da4af366747f6195db5d5151ae063891918..814028444d682b23af3809227cd485f4bebc1286:/samples/config/conftest.cpp diff --git a/samples/config/conftest.cpp b/samples/config/conftest.cpp index c30baf4271..dd903e2378 100644 --- a/samples/config/conftest.cpp +++ b/samples/config/conftest.cpp @@ -29,7 +29,7 @@ #include "wx/log.h" #include "wx/config.h" -#ifndef __WXMSW__ +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif @@ -119,7 +119,6 @@ bool MyApp::OnInit() // create the main program window MyFrame *frame = new MyFrame; frame->Show(true); - SetTopWindow(frame); // use our config object... if ( pConfig->Read(wxT("/Controls/Check"), 1l) != 0 ) {