fixes #14110
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2713,7 +2713,7 @@ bool wxWindowMac::RegisterHotKey(int hotkeyId, int modifiers, int keycode)
|
|||||||
|
|
||||||
bool wxWindowMac::UnregisterHotKey(int hotkeyId)
|
bool wxWindowMac::UnregisterHotKey(int hotkeyId)
|
||||||
{
|
{
|
||||||
for ( unsigned i = s_hotkeys.size()-1; i>=0; -- i )
|
for ( int i = ((int)s_hotkeys.size())-1; i>=0; -- i )
|
||||||
{
|
{
|
||||||
if ( s_hotkeys[i].keyId == hotkeyId )
|
if ( s_hotkeys[i].keyId == hotkeyId )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user