diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-28 16:52:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-28 20:31:42 +0100 |
commit | abf118c1cc4cf1422c304de9d48981060a7454e9 (patch) | |
tree | f105a63545c88b768f2341457aceb0497528241f /vcl | |
parent | 15648cb92290fb321c46efff66e5daa64b153e6c (diff) |
gtk3: make CTRL_TAB_BODY a successful no-op like gtk2
Change-Id: Icdd065e4c75df65fdcd287802fdb70e5e84be60c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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; |