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:
@@ -53,7 +53,7 @@
|
||||
// control ids
|
||||
enum
|
||||
{
|
||||
TextPage_Reset = 100,
|
||||
TextPage_Reset = wxID_HIGHEST,
|
||||
|
||||
TextPage_Set,
|
||||
TextPage_Add,
|
||||
@@ -329,9 +329,16 @@ END_EVENT_TABLE()
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
#if defined(__WXX11__)
|
||||
#define FAMILY_CTRLS NATIVE_CTRLS
|
||||
#elif defined(__WXUNIVERSAL__)
|
||||
#define FAMILY_CTRLS UNIVERSAL_CTRLS
|
||||
#else
|
||||
#define FAMILY_CTRLS NATIVE_CTRLS
|
||||
#endif
|
||||
|
||||
IMPLEMENT_WIDGETS_PAGE(TextWidgetsPage, _T("Text"),
|
||||
(int)wxPlatform(GENERIC_CTRLS).If(wxMSW,NATIVE_CTRLS)
|
||||
| EDITABLE_CTRLS
|
||||
FAMILY_CTRLS | EDITABLE_CTRLS
|
||||
);
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user