summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugingui/nativewindow_win32.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc
index ee16fb9..d897c25 100644
--- a/plugingui/nativewindow_win32.cc
+++ b/plugingui/nativewindow_win32.cc
@@ -381,7 +381,8 @@ NativeWindowWin32::NativeWindowWin32(void* native_window, Window& window)
auto resizeEvent = std::make_shared<ResizeEvent>();
resizeEvent->width = rect.right - rect.left;
resizeEvent->height = rect.bottom - rect.top;
- event_queue.push_back(resizeEvent);
+ //event_queue.push_back(resizeEvent);
+ window.resized(resizeEvent->width, resizeEvent->height);
}
}