summaryrefslogtreecommitdiffstats
path: root/src/newt/native/NewtMacWindow.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-01-03 04:29:38 +0100
committerSven Gothel <[email protected]>2014-01-03 04:29:38 +0100
commitbb5c7496ed92b91dded30816a46b42ff85f37bec (patch)
treea07604394d72291734783e661379b137e2b5b6c9 /src/newt/native/NewtMacWindow.h
parent09db30c4a0d9c0f29c47af76238b2abc275301c0 (diff)
Bug 935: NEWT PointerIcon OSX: Safe use of NSCursor handle
Diffstat (limited to 'src/newt/native/NewtMacWindow.h')
-rw-r--r--src/newt/native/NewtMacWindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/native/NewtMacWindow.h b/src/newt/native/NewtMacWindow.h
index ba2e242cf..2728c2201 100644
--- a/src/newt/native/NewtMacWindow.h
+++ b/src/newt/native/NewtMacWindow.h
@@ -41,7 +41,7 @@
// #define VERBOSE_ON 1
#ifdef VERBOSE_ON
- #define DBG_PRINT(...) NSLog(@ __VA_ARGS__)
+ #define DBG_PRINT(...) NSLog(@ __VA_ARGS__) ; fflush(stderr)
// #define DBG_PRINT(...) fprintf(stderr, __VA_ARGS__); fflush(stderr)
#else
#define DBG_PRINT(...)
@@ -151,7 +151,7 @@
- (BOOL) isMouseInside;
- (void) cursorHide:(BOOL)v enter:(int)enterState;
-- (void) setCustomCursor:(NSCursor*)c;
+- (void) setPointerIcon:(NSCursor*)c;
- (void) setMouseVisible:(BOOL)v hasFocus:(BOOL)focus;
- (void) setMouseConfined:(BOOL)v;
- (void) setMousePosition:(NSPoint)p;