]> git.saurik.com Git - wxWidgets.git/commitdiff
mouse-capture fix
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 31 Jul 2005 17:32:06 +0000 (17:32 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 31 Jul 2005 17:32:06 +0000 (17:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toplevel.cpp

index 735fd048ee2d20f9be09a5c27ab811d866940930..5130f2ba55092bd08b552ce8bb00eed7fffe1a2f 100644 (file)
@@ -473,6 +473,7 @@ pascal OSStatus wxMacTopLevelMouseEventHandler( EventHandlerCallRef handler , Ev
     if ( wxApp::s_captureWindow )
     {
         window = (WindowRef) wxApp::s_captureWindow->MacGetTopLevelWindowRef() ;
     if ( wxApp::s_captureWindow )
     {
         window = (WindowRef) wxApp::s_captureWindow->MacGetTopLevelWindowRef() ;
+        windowPart = inContent ;
     }
 #endif
     
     }
 #endif