]> git.saurik.com Git - wxWidgets.git/commitdiff
remove unused variable
authorRyan Norton <wxprojects@comcast.net>
Thu, 23 Sep 2004 17:03:58 +0000 (17:03 +0000)
committerRyan Norton <wxprojects@comcast.net>
Thu, 23 Sep 2004 17:03:58 +0000 (17:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/app.cpp

index ff2c929c2a8f845c7a02f10239bc5ed49a76dc28..587b1d2df6c1251cb46f641a5ed54fb6217e7225 100644 (file)
@@ -525,7 +525,7 @@ pascal OSStatus wxMacAppEventHandler( EventHandlerCallRef handler , EventRef eve
                 
                 WindowRef window ;
                 Point screenMouseLocation = cEvent.GetParameter<Point>(kEventParamMouseLocation) ;
                 
                 WindowRef window ;
                 Point screenMouseLocation = cEvent.GetParameter<Point>(kEventParamMouseLocation) ;
-                short windowPart = ::FindWindow(screenMouseLocation, &window);
+                ::FindWindow(screenMouseLocation, &window);
                 // only send this event in case it had not already been sent to a tlw, as we get
                 // double events otherwise (in case event.skip) was called
                 if ( window == NULL )
                 // only send this event in case it had not already been sent to a tlw, as we get
                 // double events otherwise (in case event.skip) was called
                 if ( window == NULL )