From abf118c1cc4cf1422c304de9d48981060a7454e9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 28 Apr 2015 16:52:12 +0100 Subject: gtk3: make CTRL_TAB_BODY a successful no-op like gtk2 Change-Id: Icdd065e4c75df65fdcd287802fdb70e5e84be60c --- vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx index 268fd2d89114..e615df05fbe8 100644 --- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx @@ -926,6 +926,9 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co break; } break; + case CTRL_TAB_BODY: + return true; + break; case CTRL_TAB_ITEM: context = mpNoteBookStyle; if (nState & ControlState::SELECTED) @@ -1535,7 +1538,7 @@ bool GtkSalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nP case CTRL_TAB_ITEM: // case CTRL_TAB_PANE: -// case CTRL_TAB_BODY: + case CTRL_TAB_BODY: if(nPart==PART_ENTIRE_CONTROL || nPart==PART_TABS_DRAW_RTL) return true; break; -- cgit