X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/197ab43d72571ecfd86c35f1832f063237775648..ac687ddffb6f199603abc2415f7bcf0d051f1eca:/samples/html/widget/widget.cpp?ds=sidebyside diff --git a/samples/html/widget/widget.cpp b/samples/html/widget/widget.cpp index c1449ce772..04ff16c5f6 100644 --- a/samples/html/widget/widget.cpp +++ b/samples/html/widget/widget.cpp @@ -4,7 +4,6 @@ // Author: ? // Modified by: // Created: ? -// RCS-ID: $Id$ // Copyright: (c) wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -162,10 +161,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