include/vcl/salnativewidgets.hxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 0c648002addbecbf1ff5c9b9f6aa708521e16384 Author: Jan Holesovsky <ke...@collabora.com> Date: Wed Sep 2 18:53:34 2015 +0200 opengl: Don't cache the menubar background. It can change based on the _toolbar_ size. The toolbar itself is fine though; it may depend on the menubar size, but that should be constant. Change-Id: Id2c68c89f4ec0774bc74b8c4a5b9a5e59e22137f diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index 8e9effb..292691b 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -287,6 +287,12 @@ public: case CTRL_CHECKBOX: case CTRL_RADIOBUTTON: return false; + + case CTRL_MENUBAR: + if (mnPart == PART_ENTIRE_CONTROL) + return false; + break; + default: break; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits