Use FINAL_RELEASE define to determine whether to display beta version number or stable version number. (Currently 2.1.6 vs. 2.2.0.)

Originally committed to SVN as r2579.
This commit is contained in:
Niels Martin Hansen 2008-12-31 05:19:24 +00:00
parent c03b3f4069
commit 234ab505bb
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,6 @@ struct VersionInfoStruct {
wxString SCMStr, VersionStr; wxString SCMStr, VersionStr;
// Update this whenever a new version is released // Update this whenever a new version is released
VersionNumber = _T("v2.1.6");
#ifdef _DEBUG #ifdef _DEBUG
IsDebug = true; IsDebug = true;
#else #else
@ -103,8 +102,10 @@ struct VersionInfoStruct {
} }
#ifdef FINAL_RELEASE #ifdef FINAL_RELEASE
VersionNumber = _T("v2.2.0");
IsRelease = true; IsRelease = true;
#else #else
VersionNumber = _T("v2.1.6");
IsRelease = false; IsRelease = false;
#endif #endif
VersionStr = wxString::Format(_T("%s%s"), VersionNumber, IsRelease ? _T("") : _T(" RELEASE PREVIEW")); VersionStr = wxString::Format(_T("%s%s"), VersionNumber, IsRelease ? _T("") : _T(" RELEASE PREVIEW"));