From de516ffeeaa179fc37b1c9c29dc3312b39bb6833 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 12 Jan 2005 15:57:59 +0000 Subject: [PATCH] Warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/menu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.50.0