X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6be23c2a23c96edf62acfe8ab1ff43efa8870253..b98738705265d77937c62bdfbf02343ccc1444eb:/src/mac/carbon/app.cpp diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index 13f815ae18..494ac9592f 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -723,7 +723,9 @@ void wxApp::CleanUp() ProfilerDump( (StringPtr)"\papp.prof" ) ; ProfilerTerm() ; # endif +#endif +#ifdef __DARWIN__ // clean up HID Keyboard if (s_macHIDKeyboard) delete s_macHIDKeyboard; @@ -1177,7 +1179,7 @@ int wxMacKeyCodeToModifier(wxKeyCode key) } } -bool wxGetKeyState(const wxKeyCode& key) //virtual key code if < 10.2.x, else see below +bool wxGetKeyState(wxKeyCode key) //virtual key code if < 10.2.x, else see below { #ifdef __DARWIN__ // Startup HID keyboard for getting key codes on DARWIN