Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -978,7 +978,7 @@ bool wxPopupMenuWindow::ProcessKeyDown(int key)
|
|||||||
bool notUnique = false;
|
bool notUnique = false;
|
||||||
|
|
||||||
// translate everything to lower case before comparing
|
// 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
|
// loop through all items searching for the item with this
|
||||||
// accel
|
// accel
|
||||||
@@ -2304,7 +2304,7 @@ int wxMenuBar::FindNextItemForAccel(int idxStart, int key, bool *unique) const
|
|||||||
*unique = true;
|
*unique = true;
|
||||||
|
|
||||||
// translate everything to lower case before comparing
|
// translate everything to lower case before comparing
|
||||||
wxChar chAccel = wxTolower(key);
|
wxChar chAccel = (wxChar)wxTolower(key);
|
||||||
|
|
||||||
// the index of the item with this accel
|
// the index of the item with this accel
|
||||||
int idxFound = -1;
|
int idxFound = -1;
|
||||||
|
Reference in New Issue
Block a user