X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6cf5edea273b08316390683a17851a2437103da4..109e2ca4349381ca7ed73f78795f1779c33143e5:/include/wx/propgrid/property.h diff --git a/include/wx/propgrid/property.h b/include/wx/propgrid/property.h index ab4aae0f12..f4ddde3f80 100644 --- a/include/wx/propgrid/property.h +++ b/include/wx/propgrid/property.h @@ -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()); } @@ -2141,7 +2141,7 @@ public: @remarks This operation deselects the property and clears its value. */ - bool SetChoices( wxPGChoices& choices ); + bool SetChoices( const wxPGChoices& choices ); /** Set max length of text in text editor. */ @@ -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. */