From 5ec5e8cedb45f769636f57582108e241a111823e Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 8 Nov 2005 19:59:51 +0000 Subject: [PATCH] More obsolete compatibility removed. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/deprecated/propform.h | 6 ----- docs/todo30.txt | 11 ++++----- utils/configtool/configs/wxwin250.wxs | 30 ++++-------------------- 3 files changed, 9 insertions(+), 38 deletions(-) diff --git a/contrib/include/wx/deprecated/propform.h b/contrib/include/wx/deprecated/propform.h index 15cb8c2b70..21a06030d7 100644 --- a/contrib/include/wx/deprecated/propform.h +++ b/contrib/include/wx/deprecated/propform.h @@ -145,12 +145,6 @@ class WXDLLIMPEXP_DEPRECATED wxPropertyFormValidator: public wxPropertyValidator virtual void OnCommand( wxProperty *WXUNUSED(property), wxPropertyFormView *WXUNUSED(view), wxWindow *WXUNUSED(parentWindow), wxCommandEvent& WXUNUSED(event) ) {} private: -// Virtual function hiding suppression -#if WXWIN_COMPATIBILITY_2 - virtual void OnCommand(wxWindow& win, - wxCommandEvent& event) - { wxEvtHandler::OnCommand(win, event); } -#endif }; /* diff --git a/docs/todo30.txt b/docs/todo30.txt index d02d035b41..07c689df1a 100644 --- a/docs/todo30.txt +++ b/docs/todo30.txt @@ -54,12 +54,11 @@ Core customized by user code by overriding some wxApp::CreateEventLoop()) instead of duplicating the same code -- remove wxCOMPATIBILITY (1.X) - At least WXWIN_COMPATIBILITY and maybe WXWIN_COMPATIBILITY_2 code should be - removed from the library. wxDEPRECATED() should be used with everything - inside WXWIN_COMPATIBILITY_2_2. The stuff inside WXWIN_COMPATIBILITY_2_4 - probably should not be deprecated (yet?) because this would give thousands - of warnings for the existing code. +- remove wxCOMPATIBILITY + wxDEPRECATED() should be used with everything inside WXWIN_COMPATIBILITY_2_4. + The stuff inside WXWIN_COMPATIBILITY_2_6 probably should not be deprecated + (yet?) because this would give thousands of warnings for the existing code. + Exception is api documented as obsolete in 2.6 release already. - Modularization/Build System Candidates for components: diff --git a/utils/configtool/configs/wxwin250.wxs b/utils/configtool/configs/wxwin250.wxs index 42e3c4c1ec..6733717598 100644 --- a/utils/configtool/configs/wxwin250.wxs +++ b/utils/configtool/configs/wxwin250.wxs @@ -978,30 +978,8 @@ Default is 0. Recommended setting: 0 (in fact the compatibility code is now very 1 0 - WXWIN_COMPATIBILITY_2 - <B>This setting determines the compatibility with 2.0 API</B><P> - -Set it to 1 to enable it. Default is 0.<P> - -Recommended setting: 0 (please update your code instead!) - - 1 - - - - - - - - --enable-compat20 - - - - - 1 - 0 - WXWIN_COMPATIBILITY_2_2 - <B>This setting determines the compatibility with 2.2 API</B><P> + WXWIN_COMPATIBILITY_2_4 + <B>This setting determines the compatibility with 2.4 API</B><P> Set it to 1 to enable it but please consider updating your code instead.<P> @@ -1022,8 +1000,8 @@ The default is 0. Recommended setting: 0 (please update your code) 1 0 - WXWIN_COMPATIBILITY_2_4 - <B>This setting determines the compatibility with 2.4 API</B><P> + WXWIN_COMPATIBILITY_2_6 + <B>This setting determines the compatibility with 2.6 API</B><P> Set it to 0 to flag all cases of using deprecated functions.<P> -- 2.45.2