X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68ca12fef650ce4622e05ba4eb21a7aa23849107..191e43fd02e958cd302049c469fb0f5ca9b67ceb:/demos/forty/forty.cpp?ds=inline diff --git a/demos/forty/forty.cpp b/demos/forty/forty.cpp index dbd5ef0153..24902505bb 100644 --- a/demos/forty/forty.cpp +++ b/demos/forty/forty.cpp @@ -195,11 +195,12 @@ FortyFrame::FortyFrame(wxFrame* frame, const wxString& title, const wxPoint& pos wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL ); topsizer->Add( m_canvas, 1, wxEXPAND | wxALL, 0); SetSizer( topsizer ); - topsizer->SetSizeHints( this ); #if wxUSE_STATUSBAR CreateStatusBar(); #endif // wxUSE_STATUSBAR + + topsizer->SetSizeHints( this ); } void FortyFrame::OnCloseWindow(wxCloseEvent& event)