Allow wxPGProperty::Hide() to be called on unattached property (see #11987)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1858,7 +1858,7 @@ public:
|
||||
By default changes are applied recursively. Set this paramter
|
||||
wxPG_DONT_RECURSE to prevent this.
|
||||
*/
|
||||
inline bool Hide( bool hide, int flags = wxPG_RECURSE );
|
||||
bool Hide( bool hide, int flags = wxPG_RECURSE );
|
||||
|
||||
bool IsExpanded() const
|
||||
{ return (!(m_flags & wxPG_PROP_COLLAPSED) && GetChildCount()); }
|
||||
@@ -2328,6 +2328,8 @@ protected:
|
||||
const wxVariantList* valueOverrides = NULL,
|
||||
wxPGHashMapS2S* childResults = NULL ) const;
|
||||
|
||||
bool DoHide( bool hide, int flags );
|
||||
|
||||
void DoSetName(const wxString& str) { m_name = str; }
|
||||
|
||||
/** Deletes all sub-properties. */
|
||||
|
Reference in New Issue
Block a user