X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Fgraphics%2Fwindows%2Fwindow.cpp;h=c6aab7d6351a32ba35775e8524716873b193e540;hp=046894f7e8815c2a90864cead486c3ac1c2163d7;hb=e15959a69551c2027029470e65a17ea5a305545b;hpb=589bf37829cadb0e4595fd97a2d6094a6471e985 diff --git a/source/graphics/windows/window.cpp b/source/graphics/windows/window.cpp index 046894f..c6aab7d 100644 --- a/source/graphics/windows/window.cpp +++ b/source/graphics/windows/window.cpp @@ -201,6 +201,12 @@ bool Window::event(const Event &evnt) signal_expose.emit(update_rect.left, update_rect.top, width, height, evnt); } break; + case WM_SETFOCUS: + signal_got_focus.emit(); + break; + case WM_KILLFOCUS: + signal_lost_focus.emit(); + break; default: return false; }