From d40e6aa24e001986f4990797b0d4e8a0c85c92bc Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 2 Apr 2017 19:54:05 +0200 Subject: Fix missing win32 redraw? --- plugingui/nativewindow_win32.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index 80dcf7d..3893c3d 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -55,8 +55,8 @@ LRESULT CALLBACK NativeWindowWin32::dialogProc(HWND hwnd, UINT msg, auto resizeEvent = std::make_shared(); resizeEvent->width = LOWORD(lp); resizeEvent->height = HIWORD(lp); - native->event_queue.push_back(resizeEvent); - //native->window.resized(resizeEvent->width, resizeEvent->height); + //native->event_queue.push_back(resizeEvent); + native->window.resized(resizeEvent->width, resizeEvent->height); } break; -- cgit v1.2.3