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:
@@ -253,7 +253,6 @@ WidgetsFrame::WidgetsFrame(const wxString& title)
|
||||
m_notebook = new wxNotebook(m_panel, wxID_ANY, wxDefaultPosition,
|
||||
wxDefaultSize, wxNO_FULL_REPAINT_ON_RESIZE|wxCLIP_CHILDREN);
|
||||
InitNotebook();
|
||||
wxSizer *sizerUp = new wxNotebookSizer(m_notebook);
|
||||
|
||||
// the lower one only has the log listbox and a button to clear it
|
||||
wxSizer *sizerDown = new wxStaticBoxSizer(
|
||||
@@ -273,7 +272,7 @@ WidgetsFrame::WidgetsFrame(const wxString& title)
|
||||
sizerDown->Add(sizerBtns, 0, wxALL | wxALIGN_RIGHT, 5);
|
||||
|
||||
// put everything together
|
||||
sizerTop->Add(sizerUp, 1, wxGROW | (wxALL & ~(wxTOP | wxBOTTOM)), 10);
|
||||
sizerTop->Add(m_notebook, 1, wxGROW | (wxALL & ~(wxTOP | wxBOTTOM)), 10);
|
||||
sizerTop->Add(0, 5, 0, wxGROW); // spacer in between
|
||||
sizerTop->Add(sizerDown, 0, wxGROW | (wxALL & ~wxTOP), 10);
|
||||
|
||||
|
Reference in New Issue
Block a user