]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: funcmacro_version.h | |
3 | // Purpose: Versioning function and macro group docs | |
4 | // Author: wxWidgets team | |
5 | // Licence: wxWindows licence | |
6 | ///////////////////////////////////////////////////////////////////////////// | |
7 | ||
8 | /** | |
9 | ||
10 | @defgroup group_funcmacro_version Versioning | |
11 | @ingroup group_funcmacro | |
12 | ||
13 | The following constants are defined in wxWidgets: | |
14 | ||
15 | @beginDefList | |
16 | @itemdef{ wxMAJOR_VERSION, The major version of wxWidgets } | |
17 | @itemdef{ wxMINOR_VERSION, The minor version of wxWidgets } | |
18 | @itemdef{ wxRELEASE_NUMBER, The release number } | |
19 | @itemdef{ wxSUBRELEASE_NUMBER, The subrelease number which is 0 for all | |
20 | official releases } | |
21 | @endDefList | |
22 | ||
23 | For example, the values or these constants for wxWidgets 2.8.7 | |
24 | are 2, 8, 7 and 0. | |
25 | ||
26 | Additionally, wxVERSION_STRING is a user-readable string containing the full | |
27 | wxWidgets version and wxVERSION_NUMBER is a combination of the three version | |
28 | numbers above: for 2.1.15, it is 2115 and it is 2200 for wxWidgets 2.2. | |
29 | ||
30 | The subrelease number is only used for the sources in between official releases | |
31 | and so normally is not useful. | |
32 | ||
33 | @header{wx/version.h} | |
34 | ||
35 | */ | |
36 |