X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/197ab43d72571ecfd86c35f1832f063237775648..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/samples/html/help/help.cpp?ds=sidebyside diff --git a/samples/html/help/help.cpp b/samples/html/help/help.cpp index c1c2954466..20351cac63 100644 --- a/samples/html/help/help.cpp +++ b/samples/html/help/help.cpp @@ -28,7 +28,7 @@ #include "wx/filesys.h" #include "wx/fs_zip.h" -#ifndef __WXMSW__ +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../../sample.xpm" #endif @@ -127,11 +127,8 @@ bool MyApp::OnInit() MyFrame *frame = new MyFrame(_("HTML Help Sample"), wxDefaultPosition, wxDefaultSize); - // Show it and tell the application that it's our main window - // @@@ what does it do exactly, in fact? is it necessary here? + // Show it frame->Show(true); - SetTopWindow(frame); - // success: wxApp::OnRun() will be called which will enter the main message // loop and the application will run. If we returned false here, the