Rearranged widgets sample to show more and categorized widgets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
689f42f4b4
commit
f2fdc4d56e
27 changed files with 1059 additions and 299 deletions
|
|
@ -73,7 +73,7 @@ enum
|
|||
class SpinBtnWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
SpinBtnWidgetsPage(wxBookCtrlBase *book, wxImageList *imaglist);
|
||||
SpinBtnWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~SpinBtnWidgetsPage(){};
|
||||
|
||||
virtual wxControl *GetWidget() const { return m_spinbtn; }
|
||||
|
|
@ -166,9 +166,12 @@ END_EVENT_TABLE()
|
|||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
IMPLEMENT_WIDGETS_PAGE(SpinBtnWidgetsPage, _T("Spin"));
|
||||
IMPLEMENT_WIDGETS_PAGE(SpinBtnWidgetsPage, _T("Spin"),
|
||||
(int)wxPlatform(GENERIC_CTRLS).If(wxMSW,NATIVE_CTRLS)
|
||||
| EDITABLE_CTRLS
|
||||
);
|
||||
|
||||
SpinBtnWidgetsPage::SpinBtnWidgetsPage(wxBookCtrlBase *book,
|
||||
SpinBtnWidgetsPage::SpinBtnWidgetsPage(WidgetsBookCtrl *book,
|
||||
wxImageList *imaglist)
|
||||
: WidgetsPage(book)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue