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:
@@ -73,7 +73,7 @@ enum
|
||||
class CheckBoxWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
CheckBoxWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
|
||||
CheckBoxWidgetsPage(wxBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~CheckBoxWidgetsPage(){};
|
||||
|
||||
virtual wxControl *GetWidget() const { return m_checkbox; }
|
||||
@@ -149,9 +149,9 @@ END_EVENT_TABLE()
|
||||
|
||||
IMPLEMENT_WIDGETS_PAGE(CheckBoxWidgetsPage, wxT("CheckBox"));
|
||||
|
||||
CheckBoxWidgetsPage::CheckBoxWidgetsPage(wxNotebook *notebook,
|
||||
wxImageList *imaglist)
|
||||
: WidgetsPage(notebook)
|
||||
CheckBoxWidgetsPage::CheckBoxWidgetsPage(wxBookCtrl *book,
|
||||
wxImageList *imaglist)
|
||||
: WidgetsPage(book)
|
||||
{
|
||||
imaglist->Add(wxBitmap(checkbox_xpm));
|
||||
|
||||
|
Reference in New Issue
Block a user