X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f742eaafee80a8a08d94083b301381af18b2082c..c443ff6f5350df36902af42d0193e53d79dd6a14:/src/osx/carbon/nonownedwnd.cpp?ds=sidebyside diff --git a/src/osx/carbon/nonownedwnd.cpp b/src/osx/carbon/nonownedwnd.cpp index c062fa3122..179f6b4997 100644 --- a/src/osx/carbon/nonownedwnd.cpp +++ b/src/osx/carbon/nonownedwnd.cpp @@ -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() ; } } @@ -1182,7 +1181,7 @@ void wxNonOwnedWindowCarbonImpl::Create( const wxPoint& pos, const wxSize& size, long style, long extraStyle, - const wxString& name ) + const wxString& WXUNUSED(name) ) { OSStatus err = noErr ;