Reduce ambiguity of selection functions in wxPropertyGridManager, make them better match for wxPropertyGrid ones

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2008-09-25 17:11:02 +00:00
parent b96a14e334
commit 0f457f4de2
2 changed files with 8 additions and 17 deletions

View File

@@ -498,14 +498,11 @@ public:
int GetSelectedPage() const { return m_selPage; }
/** Shortcut for GetGrid()->GetSelection(). */
wxPGProperty* GetSelectedProperty() const
wxPGProperty* GetSelection() const
{
return m_pPropGrid->GetSelection();
}
/** Synonyme for GetSelectedPage. */
int GetSelection() const { return m_selPage; }
/** Returns a pointer to the toolbar currently associated with the
wxPropertyGridManager (if any). */
wxToolBar* GetToolBar() const { return m_pToolbar; }
@@ -619,12 +616,6 @@ public:
*/
void SetSplitterPosition( int pos, int column = 0 );
/** Synonyme for SelectPage(name). */
void SetStringSelection( const wxChar* name )
{
SelectPage( GetPageByName(name) );
}
#ifdef SWIG
%pythoncode {
def GetValuesFromPage(self,