Continuation of 'widgets' sample improvements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
// control ids
|
||||
enum
|
||||
{
|
||||
CheckboxPage_Reset = 100,
|
||||
CheckboxPage_Reset = wxID_HIGHEST,
|
||||
CheckboxPage_ChangeLabel,
|
||||
CheckboxPage_Check,
|
||||
CheckboxPage_Uncheck,
|
||||
@@ -148,9 +148,13 @@ END_EVENT_TABLE()
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
IMPLEMENT_WIDGETS_PAGE(CheckBoxWidgetsPage, wxT("CheckBox"),
|
||||
(int)wxPlatform(GENERIC_CTRLS).If(wxMSW,NATIVE_CTRLS)
|
||||
);
|
||||
#if defined(__WXUNIVERSAL__)
|
||||
#define FAMILY_CTRLS UNIVERSAL_CTRLS
|
||||
#else
|
||||
#define FAMILY_CTRLS NATIVE_CTRLS
|
||||
#endif
|
||||
|
||||
IMPLEMENT_WIDGETS_PAGE(CheckBoxWidgetsPage, wxT("CheckBox"), FAMILY_CTRLS );
|
||||
|
||||
CheckBoxWidgetsPage::CheckBoxWidgetsPage(WidgetsBookCtrl *book,
|
||||
wxImageList *imaglist)
|
||||
|
Reference in New Issue
Block a user