]> git.saurik.com Git - wxWidgets.git/commitdiff
Really set standard cursor when over title bar and decos
authorRobert Roebling <robert@roebling.de>
Sun, 18 Jan 2009 20:37:31 +0000 (20:37 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 18 Jan 2009 20:37:31 +0000 (20:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/nonownedwnd.cpp

index c062fa3122391e59ee36209c1355d43cf29e3c04..4587682f13d3f01a2cd5d166c05747908830296f 100644 (file)
@@ -755,8 +755,7 @@ wxMacTopLevelMouseEventHandler(EventHandlerCallRef WXUNUSED(handler),
            if (!gGlobalCursor.IsOk())
            {
                 // update cursor when over toolbar and titlebar etc.
-                wxPoint cursorPoint( wxevent.m_x , wxevent.m_y ) ;
-                toplevelWindow->MacSetupCursor( cursorPoint );
+                wxSTANDARD_CURSOR->MacInstall() ;
            }
         }