X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f33230391ae071f0b3c48e4d5a30be229dbf472b..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/propgrid/property.cpp?ds=sidebyside diff --git a/src/propgrid/property.cpp b/src/propgrid/property.cpp index 5fc00a35b5..ceaba28ae3 100644 --- a/src/propgrid/property.cpp +++ b/src/propgrid/property.cpp @@ -1035,7 +1035,7 @@ bool wxPGProperty::IntToValue( wxVariant& variant, int number, int WXUNUSED(argF } // Convert semicolon delimited tokens into child values. -bool wxPGProperty::StringToValue( wxVariant& variant, const wxString& text, int argFlags ) const +bool wxPGProperty::StringToValue( wxVariant& v, const wxString& text, int argFlags ) const { if ( !GetChildCount() ) return false; @@ -1240,7 +1240,7 @@ bool wxPGProperty::StringToValue( wxVariant& variant, const wxString& text, int } if ( changed ) - variant = list; + v = list; return changed; }