Update to tk 8.5.19
This commit is contained in:
@@ -344,7 +344,7 @@ FindCursorByName(
|
||||
macCursor = [[NSCursor alloc] initWithImage:image hotSpot:hotSpot];
|
||||
[image release];
|
||||
}
|
||||
macCursorPtr->macCursor = TkMacOSXMakeUncollectable(macCursor);
|
||||
macCursorPtr->macCursor = macCursor;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -452,7 +452,8 @@ TkpFreeCursor(
|
||||
{
|
||||
TkMacOSXCursor *macCursorPtr = (TkMacOSXCursor *) cursorPtr;
|
||||
|
||||
TkMacOSXMakeCollectableAndRelease(macCursorPtr->macCursor);
|
||||
[macCursorPtr->macCursor release];
|
||||
macCursorPtr->macCursor = NULL;
|
||||
if (macCursorPtr == gCurrentCursor) {
|
||||
gCurrentCursor = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user