[wx-dev] Compatibility in setup.h
Igor Korot
ikorot at earthlink.net
Sun Feb 3 08:16:07 PST 2008
Vadim,
-----Original Message-----
>From: Vadim Zeitlin <vadim at wxwidgets.org>
>Sent: Feb 3, 2008 7:05 AM
>To: wx-dev at lists.wxwidgets.org
>Subject: Re: [wx-dev] Compatibility in setup.h
>
>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.
I understand. What I don't understand (or probably don't know) is at which
point of time the WXWIN_COMPATIBILITY_2_10/3_0 is introduced...
Something has to point out I'm in the trunk and not on 2.8 branch.
>
> Regards,
>VZ
Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
>For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
>
More information about the wx-dev
mailing list