]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/zip/zip.cpp
Remove all lines containing cvs/svn "$Id$" keyword.
[wxWidgets.git] / samples / html / zip / zip.cpp
index 6363dfab85f1ce63d5a6b8426fdb3e470f0598bd..61ec1e556c667fa728233472d8866d9e27b91b2b 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      ?
 // Modified by:
 // Created:     ?
-// RCS-ID:      $Id$
 // Copyright:   (c) wxWidgets team
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -26,7 +25,7 @@
 #include "wx/html/htmlwin.h"
 #include "wx/fs_zip.h"
 
-#ifndef __WXMSW__
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../../sample.xpm"
 #endif
 
@@ -123,10 +122,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