{
if (gs_wxBusyCursorCount++ == 0)
{
+ NSEnumerator *enumerator = [[[NSApplication sharedApplication] windows] objectEnumerator];
+ id object;
+
+ while ((object = [enumerator nextObject])) {
+ [(NSWindow*) object disableCursorRects];
+ }
+
gMacStoredActiveCursor = gMacCurrentCursor;
cursor->MacInstall();
if (--gs_wxBusyCursorCount == 0)
{
- gMacStoredActiveCursor.MacInstall();
- gMacStoredActiveCursor = wxNullCursor;
+ NSEnumerator *enumerator = [[[NSApplication sharedApplication] windows] objectEnumerator];
+ id object;
+
+ while ((object = [enumerator nextObject])) {
+ [(NSWindow*) object enableCursorRects];
+ }
wxSetCursor(wxNullCursor);
+
+ gMacStoredActiveCursor.MacInstall();
+ gMacStoredActiveCursor = wxNullCursor;
}
}