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
};
/*
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:
<setting type="bool-check">
<active>1</active>
<enabled>0</enabled>
- <name>WXWIN_COMPATIBILITY_2</name>
- <description><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!)
-</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>
+ <name>WXWIN_COMPATIBILITY_2_4</name>
+ <description><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>
<setting type="bool-check">
<active>1</active>
<enabled>0</enabled>
- <name>WXWIN_COMPATIBILITY_2_4</name>
- <description><B>This setting determines the compatibility with 2.4 API</B><P>
+ <name>WXWIN_COMPATIBILITY_2_6</name>
+ <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>