More obsolete compatibility removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -145,12 +145,6 @@ class WXDLLIMPEXP_DEPRECATED wxPropertyFormValidator: public wxPropertyValidator
|
|||||||
virtual void OnCommand( wxProperty *WXUNUSED(property), wxPropertyFormView *WXUNUSED(view),
|
virtual void OnCommand( wxProperty *WXUNUSED(property), wxPropertyFormView *WXUNUSED(view),
|
||||||
wxWindow *WXUNUSED(parentWindow), wxCommandEvent& WXUNUSED(event) ) {}
|
wxWindow *WXUNUSED(parentWindow), wxCommandEvent& WXUNUSED(event) ) {}
|
||||||
private:
|
private:
|
||||||
// Virtual function hiding suppression
|
|
||||||
#if WXWIN_COMPATIBILITY_2
|
|
||||||
virtual void OnCommand(wxWindow& win,
|
|
||||||
wxCommandEvent& event)
|
|
||||||
{ wxEvtHandler::OnCommand(win, event); }
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -54,12 +54,11 @@ Core
|
|||||||
customized by user code by overriding some wxApp::CreateEventLoop())
|
customized by user code by overriding some wxApp::CreateEventLoop())
|
||||||
instead of duplicating the same code
|
instead of duplicating the same code
|
||||||
|
|
||||||
- remove wxCOMPATIBILITY (1.X)
|
- remove wxCOMPATIBILITY
|
||||||
At least WXWIN_COMPATIBILITY and maybe WXWIN_COMPATIBILITY_2 code should be
|
wxDEPRECATED() should be used with everything inside WXWIN_COMPATIBILITY_2_4.
|
||||||
removed from the library. wxDEPRECATED() should be used with everything
|
The stuff inside WXWIN_COMPATIBILITY_2_6 probably should not be deprecated
|
||||||
inside WXWIN_COMPATIBILITY_2_2. The stuff inside WXWIN_COMPATIBILITY_2_4
|
(yet?) because this would give thousands of warnings for the existing code.
|
||||||
probably should not be deprecated (yet?) because this would give thousands
|
Exception is api documented as obsolete in 2.6 release already.
|
||||||
of warnings for the existing code.
|
|
||||||
|
|
||||||
- Modularization/Build System
|
- Modularization/Build System
|
||||||
Candidates for components:
|
Candidates for components:
|
||||||
|
@@ -978,30 +978,8 @@ Default is 0. Recommended setting: 0 (in fact the compatibility code is now very
|
|||||||
<setting type="bool-check">
|
<setting type="bool-check">
|
||||||
<active>1</active>
|
<active>1</active>
|
||||||
<enabled>0</enabled>
|
<enabled>0</enabled>
|
||||||
<name>WXWIN_COMPATIBILITY_2</name>
|
<name>WXWIN_COMPATIBILITY_2_4</name>
|
||||||
<description><B>This setting determines the compatibility with 2.0 API</B><P>
|
<description><B>This setting determines the compatibility with 2.4 API</B><P>
|
||||||
|
|
||||||
Set it to 1 to enable it. Default is 0.<P>
|
|
||||||
|
|
||||||
Recommended setting: 0 (please update your code instead!)
|
|
||||||
</description>
|
|
||||||
<default-state>1</default-state>
|
|
||||||
<requires></requires>
|
|
||||||
<precludes></precludes>
|
|
||||||
<enabled-if></enabled-if>
|
|
||||||
<enabled-if-not></enabled-if-not>
|
|
||||||
<indeterminate-if></indeterminate-if>
|
|
||||||
<exclusivity></exclusivity>
|
|
||||||
<context></context>
|
|
||||||
<configure-command>--enable-compat20</configure-command>
|
|
||||||
<help-topic></help-topic>
|
|
||||||
<notes></notes>
|
|
||||||
</setting>
|
|
||||||
<setting type="bool-check">
|
|
||||||
<active>1</active>
|
|
||||||
<enabled>0</enabled>
|
|
||||||
<name>WXWIN_COMPATIBILITY_2_2</name>
|
|
||||||
<description><B>This setting determines the compatibility with 2.2 API</B><P>
|
|
||||||
|
|
||||||
Set it to 1 to enable it but please consider updating your code instead.<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)
|
|||||||
<setting type="bool-check">
|
<setting type="bool-check">
|
||||||
<active>1</active>
|
<active>1</active>
|
||||||
<enabled>0</enabled>
|
<enabled>0</enabled>
|
||||||
<name>WXWIN_COMPATIBILITY_2_4</name>
|
<name>WXWIN_COMPATIBILITY_2_6</name>
|
||||||
<description><B>This setting determines the compatibility with 2.4 API</B><P>
|
<description><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>
|
Set it to 0 to flag all cases of using deprecated functions.<P>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user