From 24588cd306e778c089a0ac52877e95f35224691c Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Tue, 23 Sep 2008 15:38:49 +0000 Subject: [PATCH] Remove obsolete references to 'target page' concept git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/propgrid/manager.h | 6 +++--- interface/wx/propgrid/manager.h | 9 +++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/include/wx/propgrid/manager.h b/include/wx/propgrid/manager.h index 1b84265dd0..e26535de73 100644 --- a/include/wx/propgrid/manager.h +++ b/include/wx/propgrid/manager.h @@ -556,10 +556,10 @@ public: */ virtual bool RemovePage( int page ); - /** Select and displays a given page. Also makes it target page for - insert operations etc. + /** Select and displays a given page. + @param index - Index of page being seleced. Can be -1 to select nothing. + Index of page being seleced. Can be -1 to select nothing. */ void SelectPage( int index ); diff --git a/interface/wx/propgrid/manager.h b/interface/wx/propgrid/manager.h index 56c75f0218..ca86ad436c 100644 --- a/interface/wx/propgrid/manager.h +++ b/interface/wx/propgrid/manager.h @@ -157,9 +157,6 @@ public: wxPropertyGridPage* page; - // Adding a page sets target page to the one added, so - // we don't have to call SetTargetPage if we are filling - // it right after adding. pgMan->AddPage(wxT("First Page")); page = pgMan->GetLastPage(); @@ -444,10 +441,10 @@ public: */ virtual bool RemovePage( int page ); - /** Select and displays a given page. Also makes it target page for - insert operations etc. + /** Select and displays a given page. + @param index - Index of page being seleced. Can be -1 to select nothing. + Index of page being seleced. Can be -1 to select nothing. */ void SelectPage( int index ); -- 2.45.2