Readable style name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
@@ -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))
|
||||
|
Reference in New Issue
Block a user