diff options
author | Sven Gothel <[email protected]> | 2010-11-02 07:13:18 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-02 07:13:18 +0100 |
commit | bac49fd604747524e74249b693a9438b62651ddb (patch) | |
tree | 4da5ee050c41eaaa097c60ae4579f099933d53cf /src/newt/native/NewtMacWindow.m | |
parent | 95a6f59f82fb2bfbc9316843ec760532baa17b0d (diff) |
Fix macosx compilation
Diffstat (limited to 'src/newt/native/NewtMacWindow.m')
-rw-r--r-- | src/newt/native/NewtMacWindow.m | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/newt/native/NewtMacWindow.m b/src/newt/native/NewtMacWindow.m index 9f9442e9d..2d8a84b4b 100644 --- a/src/newt/native/NewtMacWindow.m +++ b/src/newt/native/NewtMacWindow.m @@ -72,6 +72,16 @@ jint GetDeltaY(NSEvent *event, jint javaMods) { return 0; } +static jmethodID sendMouseEventID = NULL; +static jmethodID sendKeyEventID = NULL; +static jmethodID insetsChangedID = NULL; +static jmethodID sizeChangedID = NULL; +static jmethodID visibleChangedID = NULL; +static jmethodID positionChangedID = NULL; +static jmethodID focusChangedID = NULL; +static jmethodID windowDestroyNotifyID = NULL; +static jmethodID windowDestroyedID = NULL; + @implementation NewtView - (void) setJNIEnv: (JNIEnv*) theEnv { @@ -120,16 +130,6 @@ jint GetDeltaY(NSEvent *event, jint javaMods) { @end -static jmethodID sendMouseEventID = NULL; -static jmethodID sendKeyEventID = NULL; -static jmethodID insetsChangedID = NULL; -static jmethodID sizeChangedID = NULL; -static jmethodID visibleChangedID = NULL; -static jmethodID positionChangedID = NULL; -static jmethodID focusChangedID = NULL; -static jmethodID windowDestroyNotifyID = NULL; -static jmethodID windowDestroyedID = NULL; - @implementation NewtMacWindow + (BOOL) initNatives: (JNIEnv*) env forClass: (jclass) clazz |