From ace3450feebe608d822b37ef1bf2ca44de6f9b5c Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 27 Jan 2011 11:17:37 +0000 Subject: [PATCH] native rendering for menubar item parts. --- vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index 3c00e071ff98..be571fc96f9f 100644 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -586,7 +586,10 @@ BOOL GtkSalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nP ) ) || ((nType == CTRL_MENUBAR) && - ( (nPart==PART_ENTIRE_CONTROL) ) ) || + ( (nPart==PART_ENTIRE_CONTROL) + || (nPart==PART_MENU_ITEM) + ) + ) || ((nType == CTRL_TOOLTIP) && ( (nPart==PART_ENTIRE_CONTROL) ) ) || ((nType == CTRL_MENU_POPUP) &&