X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/197ab43d72571ecfd86c35f1832f063237775648..f155075229d771430f0793700f5048ad4be00e9d:/samples/html/zip/zip.cpp diff --git a/samples/html/zip/zip.cpp b/samples/html/zip/zip.cpp index 6363dfab85..37c5f2377e 100644 --- a/samples/html/zip/zip.cpp +++ b/samples/html/zip/zip.cpp @@ -26,7 +26,7 @@ #include "wx/html/htmlwin.h" #include "wx/fs_zip.h" -#ifndef __WXMSW__ +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../../sample.xpm" #endif @@ -123,10 +123,8 @@ bool MyApp::OnInit() MyFrame *frame = new MyFrame(_("wxHtmlWindow testing application"), wxDefaultPosition, wxSize(640, 480) ); - // 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