X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed420f6ddd4749637ca425a9f021a595751404f2..5d91a088076e2ea980ecf4fdcf1d1522d57035fc:/samples/notebook/notebook.cpp?ds=inline diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index 3839145a06..8e196ba498 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -315,8 +315,6 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, m_panel->SetSizer(m_sizerFrame); - m_panel->SetAutoLayout(true); - m_sizerFrame->Fit(this); m_sizerFrame->SetSizeHints(this);