Macros | |
#define | wxCHECK_VERSION(major, minor, release) |
This is a macro which evaluates to true if the current wxWidgets version is at least major.minor.release. | |
#define | wxCHECK_VERSION_FULL(major, minor, release, subrel) |
Same as wxCHECK_VERSION() but also checks that wxSUBRELEASE_NUMBER is at least subrel. | |
This is a macro which evaluates to true if the current wxWidgets version is at least major.minor.release.
For example, to test if the program is compiled with wxWidgets 2.2 or higher, the following can be done:
Include file:
#include <wx/version.h>
Same as wxCHECK_VERSION() but also checks that wxSUBRELEASE_NUMBER is at least subrel.
Include file:
#include <wx/version.h>