Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -66,7 +66,9 @@ bool MyApp::OnInit(void)
|
||||
MyFrame::MyFrame(int type, wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& size):
|
||||
wxFrame(frame, wxID_ANY, title, pos, size, wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL)
|
||||
{
|
||||
#if wxUSE_STATUSBAR
|
||||
CreateStatusBar(1);
|
||||
#endif // wxUSE_STATUSBAR
|
||||
sizer = NULL;
|
||||
if (type == 1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user