From 2492cd399015224deba12cd79d4206ca0e00b31e Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 24 Jun 2004 09:04:10 +0000 Subject: [PATCH] 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 --- samples/display/display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2