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
This commit is contained in:
Stefan Csomor
2009-01-17 08:45:05 +00:00
parent a79fe526de
commit 2c2fafe9c8

View File

@@ -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)