From: Václav Slavík Date: Thu, 24 Jun 2004 09:04:10 +0000 (+0000) Subject: set size hints so that the window won't shrink too much X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2492cd399015224deba12cd79d4206ca0e00b31e set size hints so that the window won't shrink too much git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/display/display.cpp b/samples/display/display.cpp index c497f25a23..47fe984393 100644 --- a/samples/display/display.cpp +++ b/samples/display/display.cpp @@ -296,7 +296,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, wxNotebookSizer *notebookSizer = new wxNotebookSizer(m_notebook); panel->SetSizer(notebookSizer); notebookSizer->Fit(this); - + notebookSizer->SetSizeHints(this); } wxString MyFrame::VideoModeToText(const wxVideoMode& mode)