]> git.saurik.com Git - wxWidgets.git/commitdiff
we don't need status bar in the MDI children
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 18 May 2007 17:29:16 +0000 (17:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 18 May 2007 17:29:16 +0000 (17:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/mdi/mdi.cpp

index 18e040016398e2446180fd831470430d8baa030e..49336c75f546fcd489095aeee6f6ee0f9d984c95 100644 (file)
@@ -267,11 +267,6 @@ void MyFrame::OnNewWindow(wxCommandEvent& WXUNUSED(event) )
     subframe->SetMenuBar(menu_bar);
 #endif // wxUSE_MENUS
 
-#if wxUSE_STATUSBAR
-    subframe->CreateStatusBar();
-    subframe->SetStatusText(title);
-#endif // wxUSE_STATUSBAR
-
     int width, height;
     subframe->GetClientSize(&width, &height);
     MyCanvas *canvas = new MyCanvas(subframe, wxPoint(0, 0), wxSize(width, height));