Minor change to avoid compiler warning

This commit is contained in:
Davis King 2015-03-24 17:28:07 -04:00
parent c41f532284
commit 898c948f5a

View File

@ -5820,7 +5820,7 @@ namespace dlib
void perspective_display:: void perspective_display::
on_wheel_up ( on_wheel_up (
unsigned long state unsigned long //state
) )
{ {
if (rect.contains(lastx,lasty) == false || hidden || !enabled) if (rect.contains(lastx,lasty) == false || hidden || !enabled)
@ -5841,7 +5841,7 @@ namespace dlib
void perspective_display:: void perspective_display::
on_wheel_down ( on_wheel_down (
unsigned long state unsigned long //state
) )
{ {
if (rect.contains(lastx,lasty) == false || hidden || !enabled) if (rect.contains(lastx,lasty) == false || hidden || !enabled)
@ -5863,7 +5863,7 @@ namespace dlib
void perspective_display:: void perspective_display::
on_mouse_down ( on_mouse_down (
unsigned long btn, unsigned long btn,
unsigned long state, unsigned long, //state
long x, long x,
long y, long y,
bool is_double_click bool is_double_click