provide both const char* and const wchar_t* implicit conversion of wxCStrData regardless of the build type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1534,7 +1534,8 @@ bool wxLocale::Init(const wxString& name,
|
||||
// the argument to setlocale()
|
||||
szLocale = shortName;
|
||||
|
||||
wxCHECK_MSG( szLocale, false, _T("no locale to set in wxLocale::Init()") );
|
||||
wxCHECK_MSG( !szLocale.empty(), false,
|
||||
_T("no locale to set in wxLocale::Init()") );
|
||||
}
|
||||
|
||||
#ifdef __WXWINCE__
|
||||
|
Reference in New Issue
Block a user