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:
@@ -79,7 +79,7 @@ enum
|
||||
class ButtonWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
ButtonWidgetsPage(wxBookCtrlBase *book, wxImageList *imaglist);
|
||||
ButtonWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
virtual ~ButtonWidgetsPage(){};
|
||||
|
||||
virtual wxControl *GetWidget() const { return m_button; }
|
||||
@@ -154,9 +154,11 @@ END_EVENT_TABLE()
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
IMPLEMENT_WIDGETS_PAGE(ButtonWidgetsPage, _T("Button"));
|
||||
IMPLEMENT_WIDGETS_PAGE(ButtonWidgetsPage, _T("Button"),
|
||||
(int)wxPlatform(GENERIC_CTRLS).If(wxMSW,NATIVE_CTRLS)
|
||||
);
|
||||
|
||||
ButtonWidgetsPage::ButtonWidgetsPage(wxBookCtrlBase *book,
|
||||
ButtonWidgetsPage::ButtonWidgetsPage(WidgetsBookCtrl *book,
|
||||
wxImageList *imaglist)
|
||||
: WidgetsPage(book)
|
||||
{
|
||||
|
Reference in New Issue
Block a user