No significant changes. Remove reliance on wx/bookctrl.h being

included in wx/sizer.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2005-08-28 08:54:56 +00:00
parent 17ec440be6
commit 5378558e5c
14 changed files with 30 additions and 29 deletions

View File

@@ -13,7 +13,7 @@
#define _WX_SAMPLE_WIDGETS_H_
class WXDLLEXPORT wxCheckBox;
class WXDLLEXPORT wxBookCtrl;
class WXDLLEXPORT wxBookCtrlBase;
class WXDLLEXPORT wxSizer;
class WXDLLEXPORT wxTextCtrl;
@@ -37,7 +37,7 @@ class WidgetsPageInfo;
class WidgetsPage : public wxPanel
{
public:
WidgetsPage(wxBookCtrl *book);
WidgetsPage(wxBookCtrlBase *book);
// return the control shown by this page
virtual wxControl *GetWidget() const = 0;
@@ -83,7 +83,7 @@ public:
class WidgetsPageInfo
{
public:
typedef WidgetsPage *(*Constructor)(wxBookCtrl *book,
typedef WidgetsPage *(*Constructor)(wxBookCtrlBase *book,
wxImageList *imaglist);
// our ctor
@@ -117,7 +117,7 @@ private:
// and this one must be inserted somewhere in the source file
#define IMPLEMENT_WIDGETS_PAGE(classname, label) \
WidgetsPage *wxCtorFor##classname(wxBookCtrl *book, \
WidgetsPage *wxCtorFor##classname(wxBookCtrlBase *book, \
wxImageList *imaglist) \
{ return new classname(book, imaglist); } \
WidgetsPageInfo classname:: \