From 27a1fd58803acbcb8b0d25d0e344c9efbab6e47d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 3 Oct 2005 17:18:46 +0000 Subject: [PATCH] removed old commented out code and out of date comments git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/notebook.h | 19 +------------------ include/wx/mac/classic/notebook.h | 19 +------------------ 2 files changed, 2 insertions(+), 36 deletions(-) diff --git a/include/wx/mac/carbon/notebook.h b/include/wx/mac/carbon/notebook.h index ab68aabbea..393de929f8 100644 --- a/include/wx/mac/carbon/notebook.h +++ b/include/wx/mac/carbon/notebook.h @@ -28,9 +28,6 @@ class WXDLLEXPORT wxWindow; // wxNotebook // ---------------------------------------------------------------------------- -// @@@ this class should really derive from wxTabCtrl, but the interface is not -// exactly the same, so I can't do it right now and instead we reimplement -// part of wxTabCtrl here class wxNotebook : public wxNotebookBase { public: @@ -83,18 +80,7 @@ public: // calculate size for wxNotebookSizer wxSize CalcSizeFromPage(const wxSize& sizePage) const; wxRect GetPageRect() const ; -/* - // get number of pages in the dialog - int GetPageCount() const; - // cycle thru the tabs - void AdvanceSelection(bool bForward = true); - - - // currently it's always 1 because wxGTK doesn't support multi-row - // tab controls - int GetRowCount() const; -*/ // operations // ---------- // remove all pages @@ -105,10 +91,7 @@ public: const wxString& strText, bool bSelect = false, int imageId = -1); -/* - // get the panel which represents the given page - wxNotebookPage *GetPage(int nPage) { return m_aPages[nPage]; } -*/ + // callbacks // --------- void OnSize(wxSizeEvent& event); diff --git a/include/wx/mac/classic/notebook.h b/include/wx/mac/classic/notebook.h index b85f1e8428..3caae8cb68 100644 --- a/include/wx/mac/classic/notebook.h +++ b/include/wx/mac/classic/notebook.h @@ -28,9 +28,6 @@ class WXDLLEXPORT wxWindow; // wxNotebook // ---------------------------------------------------------------------------- -// @@@ this class should really derive from wxTabCtrl, but the interface is not -// exactly the same, so I can't do it right now and instead we reimplement -// part of wxTabCtrl here class wxNotebook : public wxNotebookBase { public: @@ -83,18 +80,7 @@ public: // calculate size for wxNotebookSizer wxSize CalcSizeFromPage(const wxSize& sizePage) const; wxRect GetPageRect() const ; -/* - // get number of pages in the dialog - int GetPageCount() const; - // cycle thru the tabs - void AdvanceSelection(bool bForward = true); - - - // currently it's always 1 because wxGTK doesn't support multi-row - // tab controls - int GetRowCount() const; -*/ // operations // ---------- // remove all pages @@ -105,10 +91,7 @@ public: const wxString& strText, bool bSelect = false, int imageId = -1); -/* - // get the panel which represents the given page - wxNotebookPage *GetPage(int nPage) { return m_aPages[nPage]; } -*/ + // callbacks // --------- void OnSize(wxSizeEvent& event); -- 2.47.2