Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -293,9 +293,11 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
||||
|
||||
splitter->SplitHorizontally(m_textctrl, m_canvas, 100);
|
||||
|
||||
#if wxUSE_STATUSBAR
|
||||
// create a status bar just for fun (by default with 1 pane only)
|
||||
CreateStatusBar();
|
||||
SetStatusText(wxT("Welcome to wxWidgets font demo!"));
|
||||
#endif // wxUSE_STATUSBAR
|
||||
}
|
||||
|
||||
// --------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user