diff --git a/include/wx/defs.h b/include/wx/defs.h index 32572213e6..aef702f397 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -1418,17 +1418,14 @@ enum wxBorder /* Old names for compatibility */ #define wxRA_HORIZONTAL wxHORIZONTAL #define wxRA_VERTICAL wxVERTICAL - -/* Use alternative object for single control */ - -#define wxRA_USE_SUBSTITUTE 0x0010 +#define wxRA_USE_CHECKBOX 0x0010 /* alternative native subcontrols (wxPalmOS) */ /* * wxRadioButton style flag */ #define wxRB_GROUP 0x0004 #define wxRB_SINGLE 0x0008 -#define wxRB_USE_SUBSTITUTE 0x0010 +#define wxRB_USE_CHECKBOX 0x0010 /* alternative native control (wxPalmOS) */ /* * wxSlider flags diff --git a/src/palmos/radiobut.cpp b/src/palmos/radiobut.cpp index 3a344102aa..e189985762 100644 --- a/src/palmos/radiobut.cpp +++ b/src/palmos/radiobut.cpp @@ -115,7 +115,7 @@ bool wxRadioButton::Create(wxWindow *parent, const wxString& name) { // replace native push button with native checkbox - if ( style & wxRB_USE_SUBSTITUTE ) + if ( style & wxRB_USE_CHECKBOX ) m_radioStyle = checkboxCtl; if(!wxControl::Create(parent, id, pos, size, style, validator, name))