Compatibility in setup.h

Igor Korot ikorot at earthlink.net
Sat Feb 2 19:01:18 PST 2008


Hi, ALL,
I just downloaded the latest trunk (51510) of wx, copied setup0.h to setup.h
and started editing.

What I noticed is strange is that this line:

// This setting determines the compatibility with 2.8 API: set it to 0 to
// flag all cases of using deprecated functions.
//
// Default is 1 but please try building your code with 0 as the default will
// change to 0 in the next version and the deprecated functions will disappear
// in the version after it completely.
//
// Recommended setting: 0 (please update your code)
#define WXWIN_COMPATIBILITY_2_8 1

defaults to 1 in trunk.

Shouldn't it default to 0 to indicate we are building for trunk, and not
for the 2.8 series?

Thank you.




More information about the wx-dev mailing list