summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-28 16:56:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-28 20:31:43 +0100
commit2cc92727f50ce3ea52aef6364f6adb2b27c52cb5 (patch)
tree016efea8df22aeead45bd06fdc5ac5b480d06024 /vcl/unx
parentabf118c1cc4cf1422c304de9d48981060a7454e9 (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.cxx5
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;