Always refresh the editor when setting property value to unspecified.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-12-14 15:15:35 +00:00
parent 5900bb7c5f
commit 269619bfbd
2 changed files with 2 additions and 3 deletions

View File

@@ -2043,7 +2043,7 @@ public:
void SetValueToUnspecified()
{
wxVariant val; // Create NULL variant
SetValue(val);
SetValue(val, NULL, wxPG_SETVAL_REFRESH_EDITOR);
}
// Helper function (for wxPython bindings and such) for settings protected

View File

@@ -1053,8 +1053,7 @@ public:
void SetPropertyValueUnspecified( wxPGPropArg id )
{
wxPG_PROP_ARG_CALL_PROLOG()
wxVariant nullVariant;
SetPropVal(p, nullVariant);
p->SetValueToUnspecified();
}
#ifndef SWIG