added __TDATE__ and __TTIME__ and use them instead of __DATE__ and __TIME__ for Unicode-friendliness

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-12-17 01:05:37 +00:00
parent 5fc67e5cf4
commit 3f562374f1
3 changed files with 19 additions and 9 deletions

View File

@@ -1538,14 +1538,19 @@ void wxWindowBase::OnMiddleClick( wxMouseEvent& event )
wxMessageBox(wxString::Format(
_T(
" wxWindows Library (%s port)\nVersion %u.%u.%u, compiled at %s %s\n Copyright (c) 1995-2001 wxWindows team"
" wxWindows Library (%s port)\nVersion %u.%u.%u%s, compiled at %s %s\n Copyright (c) 1995-2001 wxWindows team"
),
port.c_str(),
wxMAJOR_VERSION,
wxMINOR_VERSION,
wxRELEASE_NUMBER,
__DATE__,
__TIME__
#if wxUSE_UNICODE
L" (Unicode)",
#else
"",
#endif
__TDATE__,
__TTIME__
),
_T("wxWindows information"),
wxICON_INFORMATION | wxOK,