Fixed bug: SetPropertyValueUnspecified(p) and p->SetValue(wxNullVariant) were out of sync
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1748,8 +1748,6 @@ protected:
|
||||
const wxRect* clip_rect,
|
||||
bool isBuffered ) const;
|
||||
|
||||
void DoSetPropertyValueUnspecified( wxPGProperty* p );
|
||||
|
||||
/** Draws an expand/collapse (ie. +/-) button.
|
||||
*/
|
||||
virtual void DrawExpanderButton( wxDC& dc, const wxRect& rect,
|
||||
|
@@ -1030,7 +1030,12 @@ public:
|
||||
If it has children (it may be category), then the same thing is done to
|
||||
them.
|
||||
*/
|
||||
void SetPropertyValueUnspecified( wxPGPropArg id );
|
||||
void SetPropertyValueUnspecified( wxPGPropArg id )
|
||||
{
|
||||
wxPG_PROP_ARG_CALL_PROLOG()
|
||||
wxVariant nullVariant;
|
||||
SetPropVal(p, nullVariant);
|
||||
}
|
||||
|
||||
#ifndef SWIG
|
||||
/** Sets various property values from a list of wxVariants. If property with
|
||||
|
@@ -606,8 +606,6 @@ public:
|
||||
void DoSetPropertyValues( const wxVariantList& list,
|
||||
wxPGProperty* default_category );
|
||||
|
||||
void DoSetPropertyValueUnspecified( wxPGProperty* p );
|
||||
|
||||
void SetSplitterLeft( bool subProps = false );
|
||||
|
||||
/** Set virtual width for this particular page. */
|
||||
|
Reference in New Issue
Block a user