Document wxKill(wxSIGTERM) reliance on having an open window in wxMSW.
[wxWidgets.git] / interface / wx / version.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: version.h
3 // Purpose: wxWidgets version numbers
4 // Author: wxWidgets team
5 // RCS-ID: $Id$
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9 /** @addtogroup group_funcmacro_version */
10 //@{
11
12 /**
13 This is a macro which evaluates to @true if the current wxWidgets version
14 is at least major.minor.release.
15
16 For example, to test if the program is compiled with wxWidgets 2.2 or
17 higher, the following can be done:
18
19 @code
20 wxString s;
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 )
25 #endif
26 {
27 ...
28 }
29 @endcode
30
31 @header{wx/version.h}
32 */
33 #define wxCHECK_VERSION( major, minor, release )
34
35 /**
36 Same as wxCHECK_VERSION() but also checks that wxSUBRELEASE_NUMBER is at
37 least subrel.
38
39 @header{wx/version.h}
40 */
41 #define wxCHECK_VERSION_FULL( major, minor, release, subrel )
42
43 //@}
44