1 /////////////////////////////////////////////////////////////////////////////
2 // Name:        version.h
3 // Purpose:     wxWidgets version numbers
4 // Author:      wxWidgets team
5 // Licence:     wxWindows licence
6 /////////////////////////////////////////////////////////////////////////////
7 
8 /** @addtogroup group_funcmacro_version */
9 //@{
10 
11 /**
12     This is a macro which evaluates to @true if the current wxWidgets version
13     is at least major.minor.release.
14 
15     For example, to test if the program is compiled with wxWidgets 2.2 or
16     higher, the following can be done:
17 
18     @code
19         wxString s;
20     #if wxCHECK_VERSION(2, 2, 0)
21         if ( s.StartsWith("foo") )
22     #else // replacement code for old version
23         if ( strncmp(s, "foo", 3) == 0 )
24     #endif
25         {
26             ...
27         }
28     @endcode
29 
30     @header{wx/version.h}
31 */
32 #define wxCHECK_VERSION( major, minor, release )
33 
34 /**
35     Same as wxCHECK_VERSION() but also checks that wxSUBRELEASE_NUMBER is at
36     least subrel.
37 
38     @header{wx/version.h}
39 */
40 #define wxCHECK_VERSION_FULL( major, minor, release, subrel )
41 
42 //@}
43 
44