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_SPINBTN
|
||||
|
||||
// for all others, include the necessary headers
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/log.h"
|
||||
@@ -42,7 +44,7 @@
|
||||
#include "wx/sizer.h"
|
||||
|
||||
#include "widgets.h"
|
||||
#if wxUSE_SPINBTN
|
||||
|
||||
#include "icons/spinbtn.xpm"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -71,7 +73,7 @@ enum
|
||||
class SpinBtnWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
SpinBtnWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
|
||||
SpinBtnWidgetsPage(wxBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~SpinBtnWidgetsPage(){};
|
||||
|
||||
virtual wxControl *GetWidget() const { return m_spinbtn; }
|
||||
@@ -164,9 +166,9 @@ END_EVENT_TABLE()
|
||||
|
||||
IMPLEMENT_WIDGETS_PAGE(SpinBtnWidgetsPage, _T("Spin"));
|
||||
|
||||
SpinBtnWidgetsPage::SpinBtnWidgetsPage(wxNotebook *notebook,
|
||||
SpinBtnWidgetsPage::SpinBtnWidgetsPage(wxBookCtrl *book,
|
||||
wxImageList *imaglist)
|
||||
: WidgetsPage(notebook)
|
||||
: WidgetsPage(book)
|
||||
{
|
||||
m_chkVert = NULL;
|
||||
m_chkWrap = NULL;
|
||||
|
Reference in New Issue
Block a user