X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f9f75b380a9e69dc44f12da55a8df91ba5831f6..261ba880dd7ba7138370b5ff7c8d8dd04321f95d:/src/univ/menu.cpp?ds=sidebyside diff --git a/src/univ/menu.cpp b/src/univ/menu.cpp index b6b0189e85..962d1549ed 100644 --- a/src/univ/menu.cpp +++ b/src/univ/menu.cpp @@ -978,7 +978,7 @@ bool wxPopupMenuWindow::ProcessKeyDown(int key) bool notUnique = false; // translate everything to lower case before comparing - wxChar chAccel = wxTolower(key); + wxChar chAccel = (wxChar)wxTolower(key); // loop through all items searching for the item with this // accel @@ -2304,7 +2304,7 @@ int wxMenuBar::FindNextItemForAccel(int idxStart, int key, bool *unique) const *unique = true; // translate everything to lower case before comparing - wxChar chAccel = wxTolower(key); + wxChar chAccel = (wxChar)wxTolower(key); // the index of the item with this accel int idxFound = -1;