aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/NewtMacWindow.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-22 12:05:52 +0200
committerSven Gothel <[email protected]>2011-10-22 12:05:52 +0200
commit0f0d561a8e40ec98052a095f5f67948d1926f3d8 (patch)
treea738d4fcc9d6d1190c50e23e8ea0cd19fe4e2862 /src/newt/native/NewtMacWindow.h
parent39fc0cdbcc456fe33e0ff167b8a0ce1499b8e46e (diff)
NEWT/MacOSX: Fix resignKeyWindow super call. Summarize sendFocusLost/sendFocusGained -> focusChanged
Diffstat (limited to 'src/newt/native/NewtMacWindow.h')
-rw-r--r--src/newt/native/NewtMacWindow.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/newt/native/NewtMacWindow.h b/src/newt/native/NewtMacWindow.h
index e649fdb13..88fb67a68 100644
--- a/src/newt/native/NewtMacWindow.h
+++ b/src/newt/native/NewtMacWindow.h
@@ -36,7 +36,7 @@
#include "NewtCommon.h"
-// #define VERBOSE_ON 1
+#define VERBOSE_ON 1
#ifdef VERBOSE_ON
#define DBG_PRINT(...) fprintf(stderr, __VA_ARGS__); fflush(stderr)
@@ -128,10 +128,9 @@
- (BOOL) becomeFirstResponder;
- (BOOL) resignFirstResponder;
- (void) becomeKeyWindow;
-- (void) windowDidBecomeKey: (NSNotification *) notification;
-- (void) sendFocusGained;
- (void) resignKeyWindow;
+- (void) windowDidBecomeKey: (NSNotification *) notification;
- (void) windowDidResignKey: (NSNotification *) notification;
-- (void) sendFocusLost;
+- (void) focusChanged: (BOOL) gained;
@end