]>
git.saurik.com Git - wxWidgets.git/blob - interface/wx/version.h
dcd946f484c2253d05ac3b848c138c6dede7e435
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxWidgets version numbers
4 // Author: wxWidgets team
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
9 /** @addtogroup group_funcmacro_version */
13 This is a macro which evaluates to @true if the current wxWidgets version
14 is at least major.minor.release.
16 For example, to test if the program is compiled with wxWidgets 2.2 or
17 higher, the following can be done:
21 #if wxCHECK_VERSION(2, 2, 0)
22 if ( s.StartsWith("foo") )
23 #else // replacement code for old version
24 if ( strncmp(s, "foo", 3) == 0 )
33 #define wxCHECK_VERSION( major, minor, release )
36 Same as wxCHECK_VERSION() but also checks that wxSUBRELEASE_NUMBER is at
41 #define wxCHECK_VERSION_FULL( major, minor, release, subrel )