]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/app.cpp
compilation fixes - wxGTK compiles but not links
[wxWidgets.git] / src / mac / app.cpp
index f54dbe1e63937e9662815c6103d38d654deedf48..55df1bd41e8670deeb788b72fb471905123f081a 100644 (file)
@@ -981,7 +981,7 @@ void wxApp::MacDoOneEvent()
                wxTheApp->ProcessIdle() ;
        }
        if ( event.what != kHighLevelEvent )
-               SetRectRgn( s_macCursorRgn , event.where.h - 1 , event.where.v - 1,  event.where.h + 1 , event.where.v + 1 ) ;
+               SetRectRgn( s_macCursorRgn , event.where.h , event.where.v ,  event.where.h + 1 , event.where.v + 1 ) ;
 
        // repeaters
 
@@ -1194,6 +1194,8 @@ void wxApp::MacHandleMouseDownEvent( EventRecord *ev )
                                        }
                                        else
                                        {
+                                               if ( win )
+                                                       win->MacMouseDown( ev , windowPart ) ;
                                                UMASelectWindow( window ) ;
                                        }
                                }