Commit e60bfc7b authored by Davis King's avatar Davis King

Minor changes to avoid compiler warnings in mingw.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403171
parent 867756ca
...@@ -332,8 +332,8 @@ namespace dlib ...@@ -332,8 +332,8 @@ namespace dlib
){return CLOSE_WINDOW;} ){return CLOSE_WINDOW;}
virtual void on_user_event ( virtual void on_user_event (
void* p, void* ,
int i int
){} ){}
virtual void on_window_resized( virtual void on_window_resized(
...@@ -343,24 +343,24 @@ namespace dlib ...@@ -343,24 +343,24 @@ namespace dlib
){} ){}
virtual void on_mouse_down ( virtual void on_mouse_down (
unsigned long btn, unsigned long ,
unsigned long state, unsigned long ,
long x, long ,
long y, long ,
bool is_double_click bool
){} ){}
virtual void on_mouse_up ( virtual void on_mouse_up (
unsigned long btn, unsigned long ,
unsigned long state, unsigned long ,
long x, long ,
long y long
){} ){}
virtual void on_mouse_move ( virtual void on_mouse_move (
unsigned long state, unsigned long ,
long x, long ,
long y long
){} ){}
virtual void on_mouse_leave ( virtual void on_mouse_leave (
...@@ -370,11 +370,11 @@ namespace dlib ...@@ -370,11 +370,11 @@ namespace dlib
){} ){}
virtual void on_wheel_up ( virtual void on_wheel_up (
unsigned long state unsigned long
){} ){}
virtual void on_wheel_down ( virtual void on_wheel_down (
unsigned long state unsigned long
){} ){}
virtual void on_focus_gained ( virtual void on_focus_gained (
...@@ -384,19 +384,19 @@ namespace dlib ...@@ -384,19 +384,19 @@ namespace dlib
){} ){}
virtual void on_keydown ( virtual void on_keydown (
unsigned long key, unsigned long ,
bool is_printable, bool ,
unsigned long state unsigned long
){} ){}
virtual void on_string_put ( virtual void on_string_put (
const std::wstring &str const std::wstring&
){} ){}
private: private:
virtual void paint ( virtual void paint (
const canvas& c const canvas&
) =0; ) =0;
base_window(base_window&); // copy constructor base_window(base_window&); // copy constructor
......
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