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:
@@ -298,7 +298,7 @@ CGKeyCode wxCharCodeWXToOSX(wxKeyCode code)
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
wxLogDebug( "Unrecognised keycode %d", code );
|
wxLogDebug( "Unrecognised keycode %d", code );
|
||||||
keycode = -1;
|
keycode = static_cast<CGKeyCode>(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return keycode;
|
return keycode;
|
||||||
|
Reference in New Issue
Block a user