UI: Prevent race condition during emulator startup.

This commit is contained in:
Parker Lamb
2017-07-01 14:36:16 -05:00
parent 0c20f1c0fc
commit fc27b34304
6 changed files with 47 additions and 0 deletions

View File

@@ -44,6 +44,9 @@ class Window {
OnMainMenuChange();
}
virtual void EnableMainMenu() = 0;
virtual void DisableMainMenu() = 0;
const std::wstring& title() const { return title_; }
virtual bool set_title(const std::wstring& title) {
if (title == title_) {