]> git.saurik.com Git - wxWidgets.git/commitdiff
calendar.cpp
authorMark Johnson <mj10777@web.de>
Tue, 7 Mar 2000 11:02:27 +0000 (11:02 +0000)
committerMark Johnson <mj10777@web.de>
Tue, 7 Mar 2000 11:02:27 +0000 (11:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/calendar/calendar.cpp

index 8093077e4885c96bfc607e7d99ac1edef4eb6a1e..9481cbfbd29e0fcf6af01180d6c6d947ad50d6a9 100644 (file)
@@ -176,7 +176,7 @@ bool MyApp::OnInit()
 {
     // Create the main application window
     MyFrame *frame = new MyFrame("Calendar wxWindows sample",
-                                 wxPoint(50, 50), wxSize(450, 340));
+                                 wxPoint(50, 50), wxSize(450, 375));
 
     // Show it and tell the application that it's our main window
     // @@@ what does it do exactly, in fact? is it necessary here?
@@ -240,8 +240,9 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
 
 #if wxUSE_STATUSBAR
     // create a status bar just for fun (by default with 1 pane only)
-    CreateStatusBar(1);
-    SetStatusText("Welcome to wxWindows! Try changing the size of the Window !");
+    CreateStatusBar(2);
+    SetStatusText("Welcome to wxWindows!");
+    SetStatusText("Try changing the size of the Window !",1);
 #endif // wxUSE_STATUSBAR
 }