summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_win32.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-02 19:54:05 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-02 19:54:34 +0200
commitd40e6aa24e001986f4990797b0d4e8a0c85c92bc (patch)
tree88949b1aabaa2f6ac036c24a8612fed6b7f2396e /plugingui/nativewindow_win32.cc
parent99abe9aa790f0cb29581f1d83596035198d85719 (diff)
Fix missing win32 redraw?
Diffstat (limited to 'plugingui/nativewindow_win32.cc')
-rw-r--r--plugingui/nativewindow_win32.cc4
1 files 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>();
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;