wxBookCtrl->wxBookCtrlBase. wxBookCtrl is now most suitable book for given platform. Samples adjustement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#if wxUSE_NOTEBOOK
|
||||
|
||||
// for all others, include the necessary headers
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/app.h"
|
||||
@@ -44,7 +46,6 @@
|
||||
#include "wx/artprov.h"
|
||||
|
||||
#include "widgets.h"
|
||||
#if 1
|
||||
#include "icons/notebook.xpm"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -78,11 +79,6 @@ enum Orient
|
||||
Orient_Max
|
||||
};
|
||||
|
||||
// old versions of wxWidgets don't define this style
|
||||
#ifndef wxNB_TOP
|
||||
#define wxNB_TOP (0)
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// NotebookWidgetsPage
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -395,7 +391,7 @@ void NotebookWidgetsPage::CreateNotebook()
|
||||
m_notebook->AddPage(CreateNewPage(),
|
||||
old_note->GetPageText(n),
|
||||
false,
|
||||
m_chkImages->GetValue() ?
|
||||
m_chkImages->GetValue() ?
|
||||
GetIconIndex() : -1);
|
||||
}
|
||||
|
||||
@@ -548,4 +544,4 @@ void NotebookWidgetsPage::OnPageChanged(wxNotebookEvent& event)
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // wxUSE_NOTEBOOK
|
||||
|
Reference in New Issue
Block a user