cursor cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-01-13 19:19:35 +00:00
parent c6a071d2d2
commit 6b57b49ae3
6 changed files with 26 additions and 58 deletions

View File

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