[wx-dev] Compatibility in setup.h
Vadim Zeitlin
vadim at wxwidgets.org
Sun Feb 3 04:05:26 PST 2008
On Sat, 2 Feb 2008 22:01:18 -0500 (GMT-05:00) Igor Korot <ikorot at earthlink.net> wrote:
IK> What I noticed is strange is that this line:
IK>
IK> // This setting determines the compatibility with 2.8 API: set it to 0 to
IK> // flag all cases of using deprecated functions.
IK> //
IK> // Default is 1 but please try building your code with 0 as the default will
IK> // change to 0 in the next version and the deprecated functions will disappear
IK> // in the version after it completely.
IK> //
IK> // Recommended setting: 0 (please update your code)
IK> #define WXWIN_COMPATIBILITY_2_8 1
IK>
IK> defaults to 1 in trunk.
IK>
IK> Shouldn't it default to 0 to indicate we are building for trunk, and not
IK> for the 2.8 series?
No. Each wx version is compatible, by default, with the previous one, not
compatible by default (but it can be changed) with the one before this and
doesn't have any compatibility defines for the previous versions at all.
Regards,
VZ
More information about the wx-dev
mailing list