X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Fgraphics%2Fwindows%2Fwindow.cpp;h=cc364723d292b109dcce847122f6096881befe1d;hp=c6aab7d6351a32ba35775e8524716873b193e540;hb=39aba31df0b4ed2ae600e966c233bdeec721dc44;hpb=95480fceabec2dd6354b87a200b4a219b39d4f0a diff --git a/source/graphics/windows/window.cpp b/source/graphics/windows/window.cpp index c6aab7d..cc36472 100644 --- a/source/graphics/windows/window.cpp +++ b/source/graphics/windows/window.cpp @@ -199,6 +199,10 @@ bool Window::event(const Event &evnt) unsigned width = update_rect.right-update_rect.left; unsigned height = update_rect.bottom-update_rect.top; signal_expose.emit(update_rect.left, update_rect.top, width, height, evnt); + + PAINTSTRUCT paint; + if(BeginPaint(priv->window, &paint)) + EndPaint(priv->window, &paint); } break; case WM_SETFOCUS: