Merge pull request #743 from parkerlamb/startup_race

Prevent race condition during emulator startup (issue #702)
This commit is contained in:
Justin Moore
2017-08-03 21:36:22 -05:00
committed by GitHub
7 changed files with 48 additions and 1 deletions

View File

@@ -30,6 +30,9 @@ class Win32Window : public Window {
NativeWindowHandle native_handle() const override { return hwnd_; }
HWND hwnd() const { return hwnd_; }
void EnableMainMenu() override;
void DisableMainMenu() override;
bool set_title(const std::wstring& title) override;
bool SetIcon(const void* buffer, size_t size) override;
@@ -92,6 +95,9 @@ class Win32MenuItem : public MenuItem {
HMENU handle() { return handle_; }
void EnableMenuItem(Window& window) override;
void DisableMenuItem(Window& window) override;
using MenuItem::OnSelected;
protected: