From: Vadim Zeitlin Date: Mon, 20 Feb 2012 21:56:06 +0000 (+0000) Subject: Synchronize wxPropertyGridManager documentation with the real API. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/67414f005db844a7f5688169bc937269ea342c9c Synchronize wxPropertyGridManager documentation with the real API. Fix GetSelection() return type; remove SetStringSelection() which doesn't seem to exist any more; other minor fixes. Closes #13996. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/propgrid/manager.h b/interface/wx/propgrid/manager.h index 066a2ace31..7affc2818d 100644 --- a/interface/wx/propgrid/manager.h +++ b/interface/wx/propgrid/manager.h @@ -256,7 +256,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxPGMAN_DEFAULT_STYLE, - const wxChar* name = wxPropertyGridManagerNameStr ); + const wxString& name = wxPropertyGridManagerNameStr ); /** Enables or disables (shows/hides) categories according to parameter enable. @@ -340,11 +340,11 @@ public: /** Returns index to currently selected page. */ int GetSelectedPage() const; - /** Shortcut for GetGrid()->GetSelection(). */ + /** Alias for GetSelection(). */ wxPGProperty* GetSelectedProperty() const; - /** Synonyme for GetSelectedPage. */ - int GetSelection() const; + /** Shortcut for GetGrid()->GetSelection(). */ + wxPGProperty* GetSelection() const; /** Returns a pointer to the toolbar currently associated with the @@ -490,9 +490,6 @@ public: */ void SetSplitterPosition( int pos, int column = 0 ); - /** Synonyme for SelectPage(name). */ - void SetStringSelection( const wxChar* name ); - /** Show or hide the property grid header control. It is hidden by the default.