summaryrefslogtreecommitdiff
path: root/plugingui/eventhandler.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-18 21:03:18 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-18 21:03:18 +0100
commit7c0d78d164cbce489cea672f110a4f3f96515ea1 (patch)
tree2894c58b8e2ca925f0014b1a3c7e04468f683ac7 /plugingui/eventhandler.cc
parent35aabe3781239c22f65a87541bde03497abf2743 (diff)
Fix compiler warnings.
Diffstat (limited to 'plugingui/eventhandler.cc')
-rw-r--r--plugingui/eventhandler.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugingui/eventhandler.cc b/plugingui/eventhandler.cc
index 017434e..1953da2 100644
--- a/plugingui/eventhandler.cc
+++ b/plugingui/eventhandler.cc
@@ -64,9 +64,6 @@ extern GUI::Window *gwindow;
#include "window.h"
LRESULT CALLBACK dialogProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)
{
- static int last_x = 0;
- static int last_y = 0;
-
GUI::EventHandler *handler =
(GUI::EventHandler *) GetWindowLong(hwnd, GWL_USERDATA);
@@ -119,9 +116,6 @@ LRESULT CALLBACK dialogProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)
e->x = (int)(short) LOWORD(lp);
e->y = (int)(short) HIWORD(lp);
handler->event = e;
-
- last_x = e->x;
- last_y = e->y;
}
break;