summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_win32.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-03-19 17:40:57 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-03-19 17:40:57 +0100
commit2d5848de7180257c1a55764d019f2edf7ddbd4be (patch)
treed2a91e15ac2c66e67197b164f8c83fbc671d2d70 /plugingui/nativewindow_win32.h
parent67ee3d654e5e70f1209bbd319f921cf4cdbfcd71 (diff)
Use event queue.
Diffstat (limited to 'plugingui/nativewindow_win32.h')
-rw-r--r--plugingui/nativewindow_win32.h4
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::