diff options
Diffstat (limited to 'rbutil/rbutilFrm.cpp')
-rw-r--r-- | rbutil/rbutilFrm.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/rbutil/rbutilFrm.cpp b/rbutil/rbutilFrm.cpp index 35c34e8dc2..fe92f2bb60 100644 --- a/rbutil/rbutilFrm.cpp +++ b/rbutil/rbutilFrm.cpp | |||
@@ -271,7 +271,7 @@ void rbutilFrm::OnFileWipeCache(wxCommandEvent& event) | |||
271 | wxString cacheloc, datadir; | 271 | wxString cacheloc, datadir; |
272 | 272 | ||
273 | datadir = gv->stdpaths->GetUserDataDir(); | 273 | datadir = gv->stdpaths->GetUserDataDir(); |
274 | if (datadir == "") | 274 | if (datadir == wxT("")) |
275 | { | 275 | { |
276 | ERR_DIALOG(wxT("Can't locate user data directory. Unable to delete " | 276 | ERR_DIALOG(wxT("Can't locate user data directory. Unable to delete " |
277 | "cache."), wxT("Delete download cache.") ); | 277 | "cache."), wxT("Delete download cache.") ); |
@@ -284,7 +284,7 @@ void rbutilFrm::OnFileWipeCache(wxCommandEvent& event) | |||
284 | if (! rm_rf(cacheloc) ) | 284 | if (! rm_rf(cacheloc) ) |
285 | { | 285 | { |
286 | wxMessageDialog* msg = new wxMessageDialog(this, wxT("Local download cache has been deleted.") | 286 | wxMessageDialog* msg = new wxMessageDialog(this, wxT("Local download cache has been deleted.") |
287 | ,"Cache deletion", wxOK |wxICON_INFORMATION); | 287 | , wxT("Cache deletion"), wxOK |wxICON_INFORMATION); |
288 | msg->ShowModal(); | 288 | msg->ShowModal(); |
289 | delete msg; | 289 | delete msg; |
290 | } | 290 | } |
@@ -542,7 +542,7 @@ void rbutilFrm::OnInstallBtn(wxCommandEvent& event) | |||
542 | if (DownloadURL(gv->server_conf_url, dest)) { | 542 | if (DownloadURL(gv->server_conf_url, dest)) { |
543 | WARN_DIALOG(wxT("Unable to download build status."), | 543 | WARN_DIALOG(wxT("Unable to download build status."), |
544 | wxT("Install")); | 544 | wxT("Install")); |
545 | buf = ""; | 545 | buf = wxT(""); |
546 | } else | 546 | } else |
547 | { | 547 | { |
548 | buildinfo = new wxFileConfig(wxEmptyString, | 548 | buildinfo = new wxFileConfig(wxEmptyString, |
@@ -557,7 +557,7 @@ void rbutilFrm::OnInstallBtn(wxCommandEvent& event) | |||
557 | } | 557 | } |
558 | } | 558 | } |
559 | 559 | ||
560 | if (buf == "") { | 560 | if (buf == wxT("")) { |
561 | WARN_DIALOG(wxT("Can't get date of latest build from " | 561 | WARN_DIALOG(wxT("Can't get date of latest build from " |
562 | "server. Using yesterday's date."), wxT("Install") ); | 562 | "server. Using yesterday's date."), wxT("Install") ); |
563 | date = wxDateTime::Now(); | 563 | date = wxDateTime::Now(); |
@@ -657,7 +657,7 @@ void rbutilFrm::OnFontBtn(wxCommandEvent& event) | |||
657 | { | 657 | { |
658 | WARN_DIALOG(wxT("Unable to download build status."), | 658 | WARN_DIALOG(wxT("Unable to download build status."), |
659 | wxT("Font Install")); | 659 | wxT("Font Install")); |
660 | buf = ""; | 660 | buf = wxT(""); |
661 | } else | 661 | } else |
662 | { | 662 | { |
663 | buildinfo = new wxFileConfig(wxEmptyString, | 663 | buildinfo = new wxFileConfig(wxEmptyString, |
@@ -668,11 +668,11 @@ void rbutilFrm::OnFontBtn(wxCommandEvent& event) | |||
668 | if (buf.Len() != 8) { | 668 | if (buf.Len() != 8) { |
669 | dest.Printf(wxT("Invalid build date: %s"), buf.c_str()); | 669 | dest.Printf(wxT("Invalid build date: %s"), buf.c_str()); |
670 | WARN_DIALOG(dest, wxT("Font Install")); | 670 | WARN_DIALOG(dest, wxT("Font Install")); |
671 | buf = ""; | 671 | buf = wxT(""); |
672 | } | 672 | } |
673 | } | 673 | } |
674 | 674 | ||
675 | if (buf == "") { | 675 | if (buf == wxT("")) { |
676 | WARN_DIALOG(wxT("Can't get date of latest build from " | 676 | WARN_DIALOG(wxT("Can't get date of latest build from " |
677 | "server. Using yesterday's date."), | 677 | "server. Using yesterday's date."), |
678 | wxT("Font Install") ); | 678 | wxT("Font Install") ); |
@@ -880,7 +880,7 @@ AboutDlg::AboutDlg(rbutilFrm* parent) | |||
880 | wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE | wxTE_READONLY); | 880 | wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE | wxTE_READONLY); |
881 | 881 | ||
882 | long i = 0; | 882 | long i = 0; |
883 | while ( rbutil_developers[i] != "") | 883 | while ( rbutil_developers[i] != wxT("")) |
884 | { | 884 | { |
885 | WxTextCtrl1->AppendText(rbutil_developers[i++]); | 885 | WxTextCtrl1->AppendText(rbutil_developers[i++]); |
886 | WxTextCtrl1->AppendText(wxT("\n")); | 886 | WxTextCtrl1->AppendText(wxT("\n")); |