[UI] Implement a few pure virtual functions in linux

This commit is contained in:
DrChat 2017-12-19 18:19:31 -06:00
parent d3b03b9a93
commit 322317493e
1 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,9 @@ class GTKWindow : public Window {
}
NativeWindowHandle native_handle() const override { return window_; }
void EnableMainMenu() override {}
void DisableMainMenu() override {}
bool set_title(const std::wstring& title) override;
bool SetIcon(const void* buffer, size_t size) override;
@ -86,6 +89,9 @@ class GTKMenuItem : public MenuItem {
GtkWidget* handle() { return menu_; }
using MenuItem::OnSelected;
void EnableMenuItem(Window& window) override {}
void DisableMenuItem(Window& window) override {}
protected:
void OnChildAdded(MenuItem* child_item) override;
void OnChildRemoved(MenuItem* child_item) override;