aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/AboutDialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/AboutDialog.cxx')
-rw-r--r--win/rfb_win32/AboutDialog.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/win/rfb_win32/AboutDialog.cxx b/win/rfb_win32/AboutDialog.cxx
index 992f0707..a48a1ea7 100644
--- a/win/rfb_win32/AboutDialog.cxx
+++ b/win/rfb_win32/AboutDialog.cxx
@@ -22,7 +22,6 @@
#include <rfb_win32/AboutDialog.h>
#include <rfb_win32/Win32Util.h>
-#include <rfb_win32/TCharArray.h>
#include <rfb/LogWriter.h>
using namespace rfb;
@@ -42,12 +41,12 @@ bool AboutDialog::showDialog() {
void AboutDialog::initDialog() {
// Set the build time field
- SetWindowText(GetDlgItem(handle, BuildTime), TStr(buildTime));
+ SetWindowText(GetDlgItem(handle, BuildTime), buildTime);
// Get our executable's version info
FileVersionInfo verInfo;
- SetWindowText(GetDlgItem(handle, Version), verInfo.getVerString(_T("ProductVersion")));
- SetWindowText(GetDlgItem(handle, Copyright), verInfo.getVerString(_T("LegalCopyright")));
- SetWindowText(GetDlgItem(handle, Description), verInfo.getVerString(_T("ProductName")));
+ SetWindowText(GetDlgItem(handle, Version), verInfo.getVerString("ProductVersion"));
+ SetWindowText(GetDlgItem(handle, Copyright), verInfo.getVerString("LegalCopyright"));
+ SetWindowText(GetDlgItem(handle, Description), verInfo.getVerString("ProductName"));
}