From 1949b4e3589973af913f2e72237a36893248b0da Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 18 Apr 2020 00:44:20 +0200 Subject: [PATCH] Remove useless wxMenu::Break() override in wxOSX There is no real need to override a method not doing anything by default just to do nothing in it explicitly. --- include/wx/osx/menu.h | 2 -- src/osx/menu_osx.cpp | 5 ----- 2 files changed, 7 deletions(-) diff --git a/include/wx/osx/menu.h b/include/wx/osx/menu.h index e03bfb58a3..279c5b5888 100644 --- a/include/wx/osx/menu.h +++ b/include/wx/osx/menu.h @@ -34,8 +34,6 @@ public: virtual ~wxMenu(); - virtual void Break() wxOVERRIDE; - virtual void SetTitle(const wxString& title) wxOVERRIDE; bool ProcessCommand(wxCommandEvent& event); diff --git a/src/osx/menu_osx.cpp b/src/osx/menu_osx.cpp index 40fd87d164..2ea427c278 100644 --- a/src/osx/menu_osx.cpp +++ b/src/osx/menu_osx.cpp @@ -88,11 +88,6 @@ WXHMENU wxMenu::GetHMenu() const return NULL; } -void wxMenu::Break() -{ - // not available on the mac platform -} - void wxMenu::SetAllowRearrange( bool allow ) { m_allowRearrange = allow;