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 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.