summaryrefslogtreecommitdiff
path: root/vcl/source/window/menu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/menu.cxx')
-rw-r--r--vcl/source/window/menu.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index d14d1a3584ef..2e7499ed2188 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -2511,21 +2511,6 @@ void MenuBar::ClosePopup(Menu *pMenu)
pMenuWin->PopupClosed(pMenu);
}
-void MenuBar::DeactivateMenuBar(VclPtr<vcl::Window>& xFocusId)
-{
- MenuBarWindow* pMenuWin = getMenuBarWindow();
- if (!pMenuWin)
- {
- xFocusId = nullptr;
- return;
- }
- xFocusId = pMenuWin->GetFocusId();
- if (xFocusId == nullptr)
- return;
- pMenuWin->SetFocusId(nullptr);
- ImplGetSVData()->maWinData.mbNoDeactivate = false;
-}
-
void MenuBar::MenuBarKeyInput(const KeyEvent& rEvent)
{
pWindow->KeyInput(rEvent);