diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-11-06 19:38:13 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-11-06 19:38:13 +0100 |
commit | 7235a839de4ac9a98f0122bd38debf9267b7178f (patch) | |
tree | 083de2d180478b34fb76e7b66b0b027a8e560058 /plugingui/nativewindow_win32.h | |
parent | 6f16f0e910990d5c08d8586702c2118e555fa022 (diff) |
NativeWindowWin32 refactor part 2.
Diffstat (limited to 'plugingui/nativewindow_win32.h')
-rw-r--r-- | plugingui/nativewindow_win32.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugingui/nativewindow_win32.h b/plugingui/nativewindow_win32.h index 15781e4..57172f4 100644 --- a/plugingui/nativewindow_win32.h +++ b/plugingui/nativewindow_win32.h @@ -39,7 +39,7 @@ class Event; class NativeWindowWin32 : public NativeWindow { public: - NativeWindowWin32(Window *window); + NativeWindowWin32(Window& window); ~NativeWindowWin32(); void setFixedSize(int width, int height) override; @@ -53,13 +53,12 @@ public: void grabMouse(bool grab) override; bool hasEvent() override; - Event *getNextEvent() override; + Event* getNextEvent() override; private: static LRESULT CALLBACK dialogProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp); - // Needed by dialogProc - Window* window; + Window& window; WNDID m_hwnd = 0; char* m_className = nullptr; Event* event = nullptr; |