]> git.saurik.com Git - wxWidgets.git/blame - include/wx/version.h
Added a WXDLLEXPORT
[wxWidgets.git] / include / wx / version.h
CommitLineData
c801d85f 1/////////////////////////////////////////////////////////////////////////////
f6bcfd97 2// Name: wx/version.h
c801d85f
KB
3// Purpose: wxWindows version numbers
4// Author: Julian Smart
5// Modified by:
6// Created: 29/01/98
7// RCS-ID: $Id$
8// Copyright: (c) 1998 Julian Smart
f6bcfd97 9// Licence: wxWindows license
c801d85f
KB
10/////////////////////////////////////////////////////////////////////////////
11
34138703
JS
12#ifndef _WX_VERSIONH__
13#define _WX_VERSIONH__
c801d85f 14
f6bcfd97 15// Bump-up with each new version
c801d85f 16#define wxMAJOR_VERSION 2
2a2b997f
JS
17#define wxMINOR_VERSION 3
18#define wxRELEASE_NUMBER 0
19#define wxVERSION_STRING _T("wxWindows 2.3.0")
c801d85f 20#define wxVERSION_NUMBER (wxMAJOR_VERSION * 1000) + (wxMINOR_VERSION * 100) + wxRELEASE_NUMBER
d5a07b9e 21#define wxBETA_NUMBER 0
3f1af920 22#define wxVERSION_FLOAT wxMAJOR_VERSION + (wxMINOR_VERSION/10.0) + (wxRELEASE_NUMBER/100.0) + (wxBETA_NUMBER/10000.0)
c801d85f 23
f6bcfd97
BP
24// check if the current version is at least major.minor.release
25#define wxCHECK_VERSION(major,minor,release) \
26 (wxMAJOR_VERSION > (major) || \
27 (wxMAJOR_VERSION == (major) && wxMINOR_VERSION > (minor)) || \
28 (wxMAJOR_VERSION == (major) && wxMINOR_VERSION == (minor) && wxRELEASE_NUMBER >= (release)))
29
c801d85f 30#endif
1777b9bb 31// _WX_VERSIONH__