#include "wx/log.h"
#include "wx/config.h"
-#ifndef __WXMSW__
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
// 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 ) {