git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6502
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// Create the main application window
MyFrame *frame = new MyFrame("Calendar wxWindows sample",
{
// 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?
// Show it and tell the application that it's our main window
// @@@ what does it do exactly, in fact? is it necessary here?
#if wxUSE_STATUSBAR
// create a status bar just for fun (by default with 1 pane only)
#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
}
#endif // wxUSE_STATUSBAR
}