From 26e8b4d3af3d40ef1c33778e3a05d5b3c4998bbc Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 4 Mar 2003 12:19:12 +0000 Subject: [PATCH] cursor adaptions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/toplevel.cpp | 5 +---- src/mac/toplevel.cpp | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 2dc24669af..2ce4b8da97 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -59,9 +59,6 @@ wxWindowList wxModelessWindows; static Point gs_lastWhere; static long gs_lastWhen = 0; -// cursor stuff -extern int wxBusyCursorCount; - // ============================================================================ // wxTopLevelWindowMac implementation @@ -535,7 +532,7 @@ void wxTopLevelWindowMac::MacFireMouseEvent( WXEVENTREF evr ) if ( ev->what == mouseUp ) { wxTheApp->s_captureWindow = NULL ; - if ( wxBusyCursorCount == 0 ) + if ( !wxIsBusy() ) { m_cursor.MacInstall() ; } diff --git a/src/mac/toplevel.cpp b/src/mac/toplevel.cpp index 2dc24669af..2ce4b8da97 100644 --- a/src/mac/toplevel.cpp +++ b/src/mac/toplevel.cpp @@ -59,9 +59,6 @@ wxWindowList wxModelessWindows; static Point gs_lastWhere; static long gs_lastWhen = 0; -// cursor stuff -extern int wxBusyCursorCount; - // ============================================================================ // wxTopLevelWindowMac implementation @@ -535,7 +532,7 @@ void wxTopLevelWindowMac::MacFireMouseEvent( WXEVENTREF evr ) if ( ev->what == mouseUp ) { wxTheApp->s_captureWindow = NULL ; - if ( wxBusyCursorCount == 0 ) + if ( !wxIsBusy() ) { m_cursor.MacInstall() ; }