X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d45519868ef2bdd6ade3efe6f5381ea96465c57..d2e6c14109b521468922c85c4041103aa28e39a9:/demos/forty/forty.cpp 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)