]> git.saurik.com Git - wxWidgets.git/commitdiff
Explicit casting/instantiation to resolve ambiguous overload.
authorOve Kaaven <ovek@arcticnet.no>
Mon, 14 Jun 1999 21:51:06 +0000 (21:51 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Mon, 14 Jun 1999 21:51:06 +0000 (21:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/string.cpp

index 3fc2571a97e3b9dd7da4f8591481b369384cc3ca..47f5c3489dfe5975aa3e2eb2f6993c588c50b529 100644 (file)
@@ -2190,7 +2190,7 @@ static void wxLoadCharacterSets(void)
          // skip whitespace again
          while (wxIsEmpty(uni) && token.HasMoreTokens()) uni = token.GetNextToken();
 
-         if ((hex.Len() > 2) && (hex.GetChar(0) == escchar) && (hex.GetChar(1) == _T('x')) &&
+         if ((hex.Len() > 2) && (wxString(hex.GetChar(0)) == escchar) && (hex.GetChar(1) == _T('x')) &&
              (uni.Left(2) == _T("<U"))) {
            hex.MakeUpper(); uni.MakeUpper();
            int pos = ::wxHexToDec(hex.Mid(2,2));