X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d45519868ef2bdd6ade3efe6f5381ea96465c57..191e43fd02e958cd302049c469fb0f5ca9b67ceb:/demos/forty/forty.cpp?ds=sidebyside diff --git a/demos/forty/forty.cpp b/demos/forty/forty.cpp index 036c9429b4..24902505bb 100644 --- a/demos/forty/forty.cpp +++ b/demos/forty/forty.cpp @@ -199,6 +199,8 @@ FortyFrame::FortyFrame(wxFrame* frame, const wxString& title, const wxPoint& pos #if wxUSE_STATUSBAR CreateStatusBar(); #endif // wxUSE_STATUSBAR + + topsizer->SetSizeHints( this ); } void FortyFrame::OnCloseWindow(wxCloseEvent& event)