Adding a way to get an hmodule.

This commit is contained in:
Ben Vanik
2015-11-09 13:59:06 -08:00
parent 93708c0c1c
commit ca5e8fa073
3 changed files with 7 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ class Win32Window : public Window {
Win32Window(Loop* loop, const std::wstring& title);
~Win32Window() override;
NativePlatformHandle native_platform_handle() const override;
NativeWindowHandle native_handle() const override { return hwnd_; }
HWND hwnd() const { return hwnd_; }