From 2c2fafe9c88ea0ff93b2e1eb7267ceb74bb8958a Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 17 Jan 2009 08:45:05 +0000 Subject: [PATCH] avoiding warning for unused var in cocoa build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/carbon/app.cpp b/src/osx/carbon/app.cpp index e1df3f151a..944b22fd16 100644 --- a/src/osx/carbon/app.cpp +++ b/src/osx/carbon/app.cpp @@ -1439,11 +1439,11 @@ bool wxApp::MacSendCharEvent( wxWindow* focus , long keymessage , long modifiers return false ; wxKeyEvent event(wxEVT_CHAR) ; MacCreateKeyEvent( event, focus , keymessage , modifiers , when , wherex , wherey , uniChar ) ; - long keyval = event.m_keyCode ; bool handled = false ; #if wxOSX_USE_CARBON + long keyval = event.m_keyCode ; wxNonOwnedWindow *tlw = focus->MacGetTopLevelWindow() ; if (tlw) -- 2.45.2