From 456aab17b585e3436484a9176e63a4328a8b99d8 Mon Sep 17 00:00:00 2001 From: Iss Mneur Date: Sat, 11 Apr 2015 16:15:55 -0600 Subject: [PATCH] Make string wide or narrow depending on mode --- code/tabs/WelcomePage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/tabs/WelcomePage.cpp b/code/tabs/WelcomePage.cpp index 32d33cb..346b50c 100644 --- a/code/tabs/WelcomePage.cpp +++ b/code/tabs/WelcomePage.cpp @@ -510,7 +510,7 @@ void WelcomePage::UpdateNews(wxIdleEvent& WXUNUSED(event)) { void WelcomePage::getOrPromptUpdateNews(wxIdleEvent &WXUNUSED(event)) { this->Disconnect(wxEVT_IDLE, wxIdleEventHandler(WelcomePage::getOrPromptUpdateNews)); - wxCHECK_RET(updateNewsCheck != NULL, "checkbox is NULL"); + wxCHECK_RET(updateNewsCheck != NULL, wxT("checkbox is NULL")); bool updateNews; if (!ProMan::GetProfileManager()->GlobalRead(GBL_CFG_NET_DOWNLOAD_NEWS, &updateNews)) {