diff --git a/src/propgrid/property.cpp b/src/propgrid/property.cpp index 419d5fd0fb..21da745cdb 100644 --- a/src/propgrid/property.cpp +++ b/src/propgrid/property.cpp @@ -2716,9 +2716,8 @@ void wxPGProperty::SubPropsChanged( int oldSelInd ) // wxPGRootProperty // ----------------------------------------------------------------------- -WX_PG_IMPLEMENT_PROPERTY_CLASS_PLAIN(wxPGRootProperty,none,TextCtrl) -IMPLEMENT_DYNAMIC_CLASS(wxPGRootProperty, wxPGProperty) - +WX_PG_IMPLEMENT_PROPERTY_CLASS(wxPGRootProperty, wxPGProperty, + none, none, TextCtrl) wxPGRootProperty::wxPGRootProperty( const wxString& name ) : wxPGProperty() @@ -2739,8 +2738,8 @@ wxPGRootProperty::~wxPGRootProperty() // wxPropertyCategory // ----------------------------------------------------------------------- -WX_PG_IMPLEMENT_PROPERTY_CLASS_PLAIN(wxPropertyCategory,none,TextCtrl) -IMPLEMENT_DYNAMIC_CLASS(wxPropertyCategory, wxPGProperty) +WX_PG_IMPLEMENT_PROPERTY_CLASS(wxPropertyCategory, wxPGProperty, + none, none, TextCtrl) void wxPropertyCategory::Init() { diff --git a/src/propgrid/props.cpp b/src/propgrid/props.cpp index fef32b9bc3..422e1f84ca 100644 --- a/src/propgrid/props.cpp +++ b/src/propgrid/props.cpp @@ -1096,9 +1096,8 @@ bool wxBoolProperty::DoSetAttribute( const wxString& name, wxVariant& value ) // wxEnumProperty // ----------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxEnumProperty, wxPGProperty) - -WX_PG_IMPLEMENT_PROPERTY_CLASS_PLAIN(wxEnumProperty,long,Choice) +WX_PG_IMPLEMENT_PROPERTY_CLASS(wxEnumProperty, wxPGProperty, + long, const long*, Choice) wxEnumProperty::wxEnumProperty( const wxString& label, const wxString& name, const wxChar* const* labels, const long* values, int value ) : wxPGProperty(label,name) @@ -1370,9 +1369,8 @@ int wxEnumProperty::GetIndex() const // wxEditEnumProperty // ----------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxEditEnumProperty, wxPGProperty) - -WX_PG_IMPLEMENT_PROPERTY_CLASS_PLAIN(wxEditEnumProperty,wxString,ComboBox) +WX_PG_IMPLEMENT_PROPERTY_CLASS(wxEditEnumProperty, wxPGProperty, + wxString, const wxString&, ComboBox) wxEditEnumProperty::wxEditEnumProperty( const wxString& label, const wxString& name, const wxChar* const* labels, const long* values, const wxString& value ) @@ -1410,9 +1408,8 @@ wxEditEnumProperty::~wxEditEnumProperty() // wxFlagsProperty // ----------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxFlagsProperty,wxPGProperty) - -WX_PG_IMPLEMENT_PROPERTY_CLASS_PLAIN(wxFlagsProperty,long,TextCtrl) +WX_PG_IMPLEMENT_PROPERTY_CLASS(wxFlagsProperty, wxPGProperty, + long, long, TextCtrl) void wxFlagsProperty::Init() {