From d79decb5b4cea1616129b07f9768c98f0b4634d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 1 Feb 2005 15:10:59 +0000 Subject: [PATCH] Readable style name. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 7 ++----- src/palmos/radiobut.cpp | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) 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)) -- 2.45.2