Use wxString::clear() instead of assignment to wxEmptyString

This commit is contained in:
Paul Cornett
2017-02-18 11:00:26 -08:00
parent 4821bb4072
commit 96826d80d2
9 changed files with 18 additions and 18 deletions

View File

@@ -535,7 +535,7 @@ bool wxLocale::Init(int language, int flags)
ret = false;
#elif defined(__WXMAC__)
if (lang == wxLANGUAGE_DEFAULT)
locale = wxEmptyString;
locale.clear();
else
locale = info->CanonicalName;