summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2017-03-08 11:46:04 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2017-03-09 01:58:23 +0200
commit3daa6c66eb9a4c334d6f72a8fd4bb09d7360a913 (patch)
tree841ca73c149de1150a708b13cf510d2ae4c40cb8 /include
parentMore AC_MSG_* usage cleanup (diff)
downloadcore-3daa6c66eb9a4c334d6f72a8fd4bb09d7360a913.tar.gz
core-3daa6c66eb9a4c334d6f72a8fd4bb09d7360a913.zip
Don't use SetDisplayable when enabling Unity mode
because now it tracks the global menu too, but all we need here is to hide the in-window menubar widget. Change-Id: Ic3c8c20b88d37430e80b682333ca384bccc3f697
Diffstat (limited to 'include')
-rw-r--r--include/vcl/menu.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index f2202d1f3f2d..3f57ae213be6 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -474,6 +474,7 @@ public:
// if the menubar is unattached an empty rectangle is returned
Rectangle GetMenuBarButtonRectPixel( sal_uInt16 nId );
void RemoveMenuBarButton( sal_uInt16 nId );
+ void LayoutChanged();
};
inline MenuBar& MenuBar::operator=( const MenuBar& rMenu )