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:
@@ -2043,7 +2043,7 @@ public:
|
|||||||
void SetValueToUnspecified()
|
void SetValueToUnspecified()
|
||||||
{
|
{
|
||||||
wxVariant val; // Create NULL variant
|
wxVariant val; // Create NULL variant
|
||||||
SetValue(val);
|
SetValue(val, NULL, wxPG_SETVAL_REFRESH_EDITOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Helper function (for wxPython bindings and such) for settings protected
|
// Helper function (for wxPython bindings and such) for settings protected
|
||||||
|
@@ -1053,8 +1053,7 @@ public:
|
|||||||
void SetPropertyValueUnspecified( wxPGPropArg id )
|
void SetPropertyValueUnspecified( wxPGPropArg id )
|
||||||
{
|
{
|
||||||
wxPG_PROP_ARG_CALL_PROLOG()
|
wxPG_PROP_ARG_CALL_PROLOG()
|
||||||
wxVariant nullVariant;
|
p->SetValueToUnspecified();
|
||||||
SetPropVal(p, nullVariant);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef SWIG
|
#ifndef SWIG
|
||||||
|
Reference in New Issue
Block a user