From fc2b0e31bbd295eddee3573aed9129166794f8de Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 14 Jan 2007 16:38:53 +0000 Subject: [PATCH] added wxABI_VERSION check around new public wxFileHistory::Set/GetBaseId() methods and added them to version script git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/docview.h | 4 +++- version-script.in | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/include/wx/docview.h b/include/wx/docview.h index 2eba2371c9..46cc57c211 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -594,9 +594,11 @@ public: const wxList& GetMenus() const { return m_fileMenus; } - // Set/get base id +#if wxABI_VERSION >= 20802 + // Set/get base id void SetBaseId(wxWindowID baseId) { m_idBase = baseId; } wxWindowID GetBaseId() const { return m_idBase; } +#endif // wxABI 2.8.2+ #if WXWIN_COMPATIBILITY_2_6 // deprecated, use GetCount() instead diff --git a/version-script.in b/version-script.in index 771a66edc6..9782ee2e2d 100644 --- a/version-script.in +++ b/version-script.in @@ -24,6 +24,13 @@ # and once released its version cannot be changed. +# public symbols added in 2.8.2 (please keep in alphabetical order): +@WX_VERSION_TAG@.2 { + global: + # wxFileHistory::Set/GetBaseId() + *wxFileHistory*etBaseId*; +}; + # public symbols added in 2.8.1 (please keep in alphabetical order): @WX_VERSION_TAG@.1 { global: