Commit 898c948f authored by Davis King's avatar Davis King

Minor change to avoid compiler warning

parent c41f5322
...@@ -5820,7 +5820,7 @@ namespace dlib ...@@ -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 ...@@ -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 ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment