cursor adaptions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-03-04 12:19:12 +00:00
parent 7777a461c3
commit 26e8b4d3af
2 changed files with 2 additions and 8 deletions

View File

@@ -59,9 +59,6 @@ wxWindowList wxModelessWindows;
static Point gs_lastWhere; static Point gs_lastWhere;
static long gs_lastWhen = 0; static long gs_lastWhen = 0;
// cursor stuff
extern int wxBusyCursorCount;
// ============================================================================ // ============================================================================
// wxTopLevelWindowMac implementation // wxTopLevelWindowMac implementation
@@ -535,7 +532,7 @@ void wxTopLevelWindowMac::MacFireMouseEvent( WXEVENTREF evr )
if ( ev->what == mouseUp ) if ( ev->what == mouseUp )
{ {
wxTheApp->s_captureWindow = NULL ; wxTheApp->s_captureWindow = NULL ;
if ( wxBusyCursorCount == 0 ) if ( !wxIsBusy() )
{ {
m_cursor.MacInstall() ; m_cursor.MacInstall() ;
} }

View File

@@ -59,9 +59,6 @@ wxWindowList wxModelessWindows;
static Point gs_lastWhere; static Point gs_lastWhere;
static long gs_lastWhen = 0; static long gs_lastWhen = 0;
// cursor stuff
extern int wxBusyCursorCount;
// ============================================================================ // ============================================================================
// wxTopLevelWindowMac implementation // wxTopLevelWindowMac implementation
@@ -535,7 +532,7 @@ void wxTopLevelWindowMac::MacFireMouseEvent( WXEVENTREF evr )
if ( ev->what == mouseUp ) if ( ev->what == mouseUp )
{ {
wxTheApp->s_captureWindow = NULL ; wxTheApp->s_captureWindow = NULL ;
if ( wxBusyCursorCount == 0 ) if ( !wxIsBusy() )
{ {
m_cursor.MacInstall() ; m_cursor.MacInstall() ;
} }