diff --git a/src/propgrid/props.cpp b/src/propgrid/props.cpp index 422e1f84ca..00871cfeee 100644 --- a/src/propgrid/props.cpp +++ b/src/propgrid/props.cpp @@ -1159,6 +1159,8 @@ wxEnumProperty::wxEnumProperty( const wxString& label, const wxString& name, wxPGChoices& choices, int value ) : wxPGProperty(label,name) { + SetIndex(0); + m_choices.Assign( choices ); if ( GetItemCount() )