Commit b6bf552c authored by Davis King's avatar Davis King

Fixed a bug in the image_window which made it's behavior slightly weird

when a user drew rectangles on it.
parent 4cc14d26
......@@ -6527,7 +6527,7 @@ namespace dlib
unsigned long state
)
{
dlib::base_window::on_keydown(key,is_printable,state);
dlib::drawable_window::on_keydown(key,is_printable,state);
have_last_keypress = true;
next_key = key;
......
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