From: Vadim Zeitlin Date: Wed, 25 Feb 2009 21:01:53 +0000 (+0000) Subject: undo the change of r57522, it's not needed any more after r59136 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/038d59e9793427a96ce816884e51bcae50b21341 undo the change of r57522, it's not needed any more after r59136 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/aui/auidemo.cpp b/samples/aui/auidemo.cpp index e4ba94d659..37bbdbf11f 100644 --- a/samples/aui/auidemo.cpp +++ b/samples/aui/auidemo.cpp @@ -1576,6 +1576,9 @@ wxAuiNotebook* MyFrame::CreateNotebook() wxPanel *panel = new wxPanel( ctrl, wxID_ANY ); wxFlexGridSizer *flex = new wxFlexGridSizer( 2 ); + flex->AddGrowableRow( 0 ); + flex->AddGrowableRow( 3 ); + flex->AddGrowableCol( 1 ); flex->Add( 5,5 ); flex->Add( 5,5 ); flex->Add( new wxStaticText( panel, -1, wxT("wxTextCtrl:") ), 0, wxALL|wxALIGN_CENTRE, 5 ); flex->Add( new wxTextCtrl( panel, -1, wxT(""), wxDefaultPosition, wxSize(100,-1)), @@ -1584,9 +1587,6 @@ wxAuiNotebook* MyFrame::CreateNotebook() flex->Add( new wxSpinCtrl( panel, -1, wxT("5"), wxDefaultPosition, wxSize(100,-1), wxSP_ARROW_KEYS, 5, 50, 5 ), 0, wxALL|wxALIGN_CENTRE, 5 ); flex->Add( 5,5 ); flex->Add( 5,5 ); - flex->AddGrowableRow( 0 ); - flex->AddGrowableRow( 3 ); - flex->AddGrowableCol( 1 ); panel->SetSizer( flex ); ctrl->AddPage( panel, wxT("wxPanel"), false, page_bmp );