-IMPLEMENT_WIDGETS_PAGE(RadioWidgetsPage, _T("Radio"),
- (int)wxPlatform(GENERIC_CTRLS).If(wxMSW,NATIVE_CTRLS)
- | WITH_ITEMS_CTRLS
+#if defined(__WXUNIVERSAL__)
+ #define FAMILY_CTRLS UNIVERSAL_CTRLS
+#else
+ #define FAMILY_CTRLS NATIVE_CTRLS
+#endif
+
+IMPLEMENT_WIDGETS_PAGE(RadioWidgetsPage, wxT("Radio"),
+ FAMILY_CTRLS | WITH_ITEMS_CTRLS