Remove use of wxPG_EDITOR macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -747,10 +747,10 @@ const wxPGEditor* wxBoolProperty::DoGetEditorClass() const
|
||||
// Select correct editor control.
|
||||
#if wxPG_INCLUDE_CHECKBOX
|
||||
if ( !(m_flags & wxPG_PROP_USE_CHECKBOX) )
|
||||
return wxPG_EDITOR(Choice);
|
||||
return wxPG_EDITOR(CheckBox);
|
||||
return wxPGEditor_Choice;
|
||||
return wxPGEditor_CheckBox;
|
||||
#else
|
||||
return wxPG_EDITOR(Choice);
|
||||
return wxPGEditor_Choice;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user