[24e6f2]: src / ui / wxWidgets / version.cpp Maximize Restore History

Download this file

version.cpp    29 lines (24 with data), 984 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* Copyright (c) 2003-2013 Rony Shapiro <ronys@users.sourceforge.net>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
/** \file version.cpp
*
*/
#include "version.h"
#ifdef __WXMSW__
#include <wx/msw/msvcrt.h>
#endif
const wxString pwsafeAppName(APPNAME);
#ifndef _DEBUG
const wxString pwsafeVersionString = wxString::Format(_T("v%d.%d (%s) %s"),
MAJORVERSION, MINORVERSION,
_T(VCS_VERSION), SPECIALBUILD);
#else
const wxString pwsafeVersionString = wxString::Format(_T("v%d.%d (%s) [debug] %s"),
MAJORVERSION, MINORVERSION,
_T(VCS_VERSION), SPECIALBUILD);
#endif