No real changes, just add a cast to fix a warning.

Fix warning about implicitly converting -1 to CGKeyCode when building wxOSX
with 10.4 SDK.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-12-14 18:43:57 +00:00
parent fd08ccd246
commit 8f6f3a71d8

View File

@@ -298,7 +298,7 @@ CGKeyCode wxCharCodeWXToOSX(wxKeyCode code)
default:
wxLogDebug( "Unrecognised keycode %d", code );
keycode = -1;
keycode = static_cast<CGKeyCode>(-1);
}
return keycode;