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
This commit is contained in:
Vadim Zeitlin
2012-02-20 21:56:06 +00:00
parent 5aabd64cf2
commit 67414f005d

View File

@@ -256,7 +256,7 @@ public:
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, const wxSize& size = wxDefaultSize,
long style = wxPGMAN_DEFAULT_STYLE, long style = wxPGMAN_DEFAULT_STYLE,
const wxChar* name = wxPropertyGridManagerNameStr ); const wxString& name = wxPropertyGridManagerNameStr );
/** /**
Enables or disables (shows/hides) categories according to parameter enable. Enables or disables (shows/hides) categories according to parameter enable.
@@ -340,11 +340,11 @@ public:
/** Returns index to currently selected page. */ /** Returns index to currently selected page. */
int GetSelectedPage() const; int GetSelectedPage() const;
/** Shortcut for GetGrid()->GetSelection(). */ /** Alias for GetSelection(). */
wxPGProperty* GetSelectedProperty() const; wxPGProperty* GetSelectedProperty() const;
/** Synonyme for GetSelectedPage. */ /** Shortcut for GetGrid()->GetSelection(). */
int GetSelection() const; wxPGProperty* GetSelection() const;
/** /**
Returns a pointer to the toolbar currently associated with the Returns a pointer to the toolbar currently associated with the
@@ -490,9 +490,6 @@ public:
*/ */
void SetSplitterPosition( int pos, int column = 0 ); 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 Show or hide the property grid header control. It is hidden
by the default. by the default.