From b714136483caf8e1f02f22f5a34ee3607c1f9ecb Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 3 Oct 1999 18:02:19 +0000 Subject: [PATCH] changed to use 2 html windows git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/html/test/test.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/samples/html/test/test.cpp b/samples/html/test/test.cpp index 8ac83bc75e..38f6aa47be 100644 --- a/samples/html/test/test.cpp +++ b/samples/html/test/test.cpp @@ -120,10 +120,13 @@ // Create the main application window MyFrame *frame = new MyFrame("wxHtmlWindow testing application", wxPoint(50, 50), wxSize(640, 480)); + MyFrame *frame2 = new MyFrame("wxHtmlWindow testing application", + wxPoint(150, 50), 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? frame->Show(TRUE); + frame2->Show(TRUE); SetTopWindow(frame); @@ -141,7 +144,7 @@ wxHtmlWindow *html; // frame constructor MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) - : wxFrame((wxFrame *)NULL, -1, title, pos, size) + : wxFrame((wxFrame *)NULL, -1, title, pos, size, wxDEFAULT_FRAME_STYLE, "html_test_app") { // create a menu bar wxMenu *menuFile = new wxMenu; -- 2.45.2