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
This commit is contained in:
Václav Slavík
2004-06-24 09:04:10 +00:00
parent dac5a9c997
commit 2492cd3990

View File

@@ -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)