]> git.saurik.com Git - wxWidgets.git/blame - interface/version.h
don't assign the returned value in wxMDIParentFrame::OnCreateClient() to any member...
[wxWidgets.git] / interface / version.h
CommitLineData
8af7f7c1
BP
1/////////////////////////////////////////////////////////////////////////////
2// Name: version.h
3// Purpose: wxWidgets version numbers
4// Author: wxWidgets team
5// RCS-ID: $Id: numdlg.h 52425 2008-03-10 15:24:38Z FM $
6// Licence: wxWindows license
7/////////////////////////////////////////////////////////////////////////////
8
9/** @ingroup 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#define wxCHECK_VERSION( major, minor, release )
32
33/**
34 Same as wxCHECK_VERSION() but also checks that wxSUBRELEASE_NUMBER is at
35 least subrel.
36*/
37#define wxCHECK_VERSION_FULL( major, minor, release, subrel )
38
39//@}
40