diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-03-19 18:21:17 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-03-19 18:21:17 +0100 |
commit | 4e601f4ab2d57cab8ba6c97ad30f12446883ec33 (patch) | |
tree | f838cb54bbc937e437c5389d8c0b684e85791513 /plugingui | |
parent | 2d5848de7180257c1a55764d019f2edf7ddbd4be (diff) |
Use event queue.
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/nativewindow_win32.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index edccb01..1ab4126 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -372,8 +372,9 @@ void NativeWindowWin32::hide() void NativeWindowWin32::redraw() { - RedrawWindow(m_hwnd, nullptr, nullptr, RDW_ERASE|RDW_INVALIDATE); - UpdateWindow(m_hwnd); + InvalidateRect(m_hwnd, 0, TRUE); + //RedrawWindow(m_hwnd, nullptr, nullptr, RDW_ERASE|RDW_INVALIDATE); + //UpdateWindow(m_hwnd); } void NativeWindowWin32::setCaption(const std::string &caption) |