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:
@@ -37,8 +37,10 @@ MyFrame::MyFrame( wxWindow *parent, wxWindowID id, const wxString &title,
|
||||
{
|
||||
// Create menu and status bar.
|
||||
CreateMyMenuBar();
|
||||
#if wxUSE_STATUSBAR
|
||||
CreateStatusBar(1);
|
||||
SetStatusText( _T("Welcome to Styles!") );
|
||||
#endif // wxUSE_STATUSBAR
|
||||
|
||||
wxImage image;
|
||||
image.LoadFile( _T("marble.jpg"), wxBITMAP_TYPE_JPEG );
|
||||
|
Reference in New Issue
Block a user