X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2461cfa0d9b786a26a783237bca38c920efecb51..73ed39b580977913998bbb988e52e474fe9835ae:/src/os2/menuitem.cpp?ds=sidebyside diff --git a/src/os2/menuitem.cpp b/src/os2/menuitem.cpp index a3180a5ae8..6b9a515788 100644 --- a/src/os2/menuitem.cpp +++ b/src/os2/menuitem.cpp @@ -190,7 +190,7 @@ wxString wxMenuItemBase::GetLabelFromText( { wxString sLabel; - for (const char* zPc = rsText.c_str(); *zPc; zPc++) + for (const wxChar* zPc = rsText.c_str(); *zPc; zPc++) { if (*zPc == wxT('~') || *zPc == wxT('&')) {