--- a/src/video/cocoa/SDL_cocoamouse.h Fri Jan 21 00:15:18 2011 +0100
+++ b/src/video/cocoa/SDL_cocoamouse.h Thu Jan 20 17:11:22 2011 -0800
@@ -26,8 +26,8 @@
extern void Cocoa_InitMouse(_THIS);
extern void Cocoa_HandleMouseEvent(_THIS, NSEvent * event);
+extern void Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent * event);
extern void Cocoa_QuitMouse(_THIS);
-extern void Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent * event);
#endif /* _SDL_cocoamouse_h */
--- a/src/video/cocoa/SDL_cocoamouse.m Fri Jan 21 00:15:18 2011 +0100
+++ b/src/video/cocoa/SDL_cocoamouse.m Thu Jan 20 17:11:22 2011 -0800
@@ -108,11 +108,6 @@
}
void
-Cocoa_QuitMouse(_THIS)
-{
-}
-
-void
Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent *event)
{
float x = [event deltaX];
@@ -131,4 +126,9 @@
SDL_SendMouseWheel(window, (int)x, (int)y);
}
+void
+Cocoa_QuitMouse(_THIS)
+{
+}
+
/* vi: set ts=4 sw=4 expandtab: */