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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user