deprecated wxBookCtrlSizer and wxNotebookSizer, they are no longer needed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-06-24 11:58:06 +00:00
parent 19b44116d5
commit adbf2d732f
9 changed files with 45 additions and 31 deletions

View File

@@ -293,10 +293,11 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size,
(unsigned long)nDpy));
}
wxNotebookSizer *notebookSizer = new wxNotebookSizer(m_notebook);
panel->SetSizer(notebookSizer);
notebookSizer->Fit(this);
notebookSizer->SetSizeHints(this);
wxBoxSizer *sizer = new wxBoxSizer(wxHORIZONTAL);
sizer->Add(m_notebook, 1, wxEXPAND);
panel->SetSizer(sizer);
sizer->Fit(this);
sizer->SetSizeHints(this);
}
wxString MyFrame::VideoModeToText(const wxVideoMode& mode)