diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-28 16:56:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-28 20:31:43 +0100 |
commit | 2cc92727f50ce3ea52aef6364f6adb2b27c52cb5 (patch) | |
tree | 016efea8df22aeead45bd06fdc5ac5b480d06024 /vcl/unx | |
parent | abf118c1cc4cf1422c304de9d48981060a7454e9 (diff) |
gtk3: render notebook pane for tab controls
Change-Id: Ie10163d652a8d918daf0c2b7d807c1658deba742
Diffstat (limited to 'vcl/unx')
-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 e615df05fbe8..acb542ff5b07 100644 --- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx @@ -929,6 +929,9 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co case CTRL_TAB_BODY: return true; break; + case CTRL_TAB_PANE: + context = mpNoteBookStyle; + break; case CTRL_TAB_ITEM: context = mpNoteBookStyle; if (nState & ControlState::SELECTED) @@ -1537,7 +1540,7 @@ bool GtkSalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nP // return true; case CTRL_TAB_ITEM: -// case CTRL_TAB_PANE: + case CTRL_TAB_PANE: case CTRL_TAB_BODY: if(nPart==PART_ENTIRE_CONTROL || nPart==PART_TABS_DRAW_RTL) return true; |