diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-03-19 17:40:57 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-03-19 17:40:57 +0100 |
commit | 2d5848de7180257c1a55764d019f2edf7ddbd4be (patch) | |
tree | d2a91e15ac2c66e67197b164f8c83fbc671d2d70 /plugingui/nativewindow_win32.h | |
parent | 67ee3d654e5e70f1209bbd319f921cf4cdbfcd71 (diff) |
Use event queue.
Diffstat (limited to 'plugingui/nativewindow_win32.h')
-rw-r--r-- | plugingui/nativewindow_win32.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/nativewindow_win32.h b/plugingui/nativewindow_win32.h index e6db787..b30101a 100644 --- a/plugingui/nativewindow_win32.h +++ b/plugingui/nativewindow_win32.h @@ -26,6 +26,8 @@ */ #pragma once +#include <queue> + #include "nativewindow.h" #define WIN32_LEAN_AND_MEAN @@ -63,7 +65,7 @@ private: Window& window; WNDID m_hwnd = 0; char* m_className = nullptr; - Event* event = nullptr; + std::queue<Event*> event_queue; }; } // GUI:: |