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:
Jaakko Salli
2008-10-06 15:38:30 +00:00
parent 75b6c4ce92
commit c26873c8ef
6 changed files with 12 additions and 12 deletions

View File

@@ -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
}