[wx-dev] Compatibility in setup.h
Robin Dunn
robin at alldunn.com
Sun Feb 3 18:08:38 PST 2008
Igor Korot wrote:
>> 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.
Use the wxCHECK_VERSION macro, or one of the other version macros in
wx/version.h.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wx-dev
mailing list