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

when a user drew rectangles on it.
This commit is contained in:
Davis King 2013-08-07 13:42:06 -04:00
parent 4cc14d2663
commit b6bf552c8d
1 changed files with 1 additions and 1 deletions

View File

@ -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;