From 9e610e1caf91dee9e074551149e3ae5e08df9c09 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 15 Feb 2012 15:40:10 +0000 Subject: [PATCH] Remove non-existent wxPGChoices methods from the documentation. wxPGProperty::Add(wxArrayString, ValArrItem), GetItemAtY() and HasValue() were documented but don't actually exist, remove them. Also correct wxPGProperty::Empty() scope: it's protected and not public. Closes #13988. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/propgrid/property.h | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/interface/wx/propgrid/property.h b/interface/wx/propgrid/property.h index 7ce40e5f90..6d2b249687 100644 --- a/interface/wx/propgrid/property.h +++ b/interface/wx/propgrid/property.h @@ -1198,9 +1198,6 @@ public: */ void DeleteChoice( int index ); - /** Deletes all child properties. */ - void Empty(); - /** Enables or disables the property. Disabled property usually appears as having grey text. @@ -1758,6 +1755,10 @@ public: Returns @true if containing grid uses wxPG_EX_AUTO_UNSPECIFIED_VALUES. */ bool UsesAutoUnspecified() const; + +protected: + /** Deletes all child properties. */ + void Empty(); }; @@ -1879,9 +1880,6 @@ public: */ void Add( const wxChar** labels, const ValArrItem* values = NULL ); - /** Version that works with wxArrayString. */ - void Add( const wxArrayString& arr, const ValArrItem* values = NULL ); - /** Version that works with wxArrayString and wxArrayInt. */ void Add( const wxArrayString& arr, const wxArrayInt& arrint ); @@ -1947,15 +1945,6 @@ public: wxArrayInt GetIndicesForStrings( const wxArrayString& strings, wxArrayString* unmatched = NULL ) const; - /** Returns property at given virtual y coordinate. - */ - wxPGProperty* GetItemAtY( unsigned int y ) const; - - /** - Returns @true if item at given index has a valid value; - */ - bool HasValue( unsigned int i ) const; - /** Returns index of item with given label. */