aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPChooseMenuItemDialog.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPChooseMenuItemDialog.m')
-rw-r--r--Source/SPChooseMenuItemDialog.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPChooseMenuItemDialog.m b/Source/SPChooseMenuItemDialog.m
index 4b1dafb5..8b7bf650 100644
--- a/Source/SPChooseMenuItemDialog.m
+++ b/Source/SPChooseMenuItemDialog.m
@@ -148,7 +148,7 @@
clickCount:1
pressure:0.0f];
- [[NSApplication sharedApplication] sendEvent:theEvent];
+ [NSApp sendEvent:theEvent];
while ([dialog waitForChoice] && [[[NSApp keyWindow] firstResponder] isKindOfClass:[SPChooseMenuItemDialogTextView class]])
{
@@ -174,7 +174,7 @@
- (void)dealloc
{
- [dummyTextView release];
+ SPClear(dummyTextView);
[super dealloc];
}