Kaydet (Commit) 2cc92727 authored tarafından Caolán McNamara's avatar Caolán McNamara

gtk3: render notebook pane for tab controls

Change-Id: Ie10163d652a8d918daf0c2b7d807c1658deba742
üst abf118c1
...@@ -929,6 +929,9 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co ...@@ -929,6 +929,9 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
case CTRL_TAB_BODY: case CTRL_TAB_BODY:
return true; return true;
break; break;
case CTRL_TAB_PANE:
context = mpNoteBookStyle;
break;
case CTRL_TAB_ITEM: case CTRL_TAB_ITEM:
context = mpNoteBookStyle; context = mpNoteBookStyle;
if (nState & ControlState::SELECTED) if (nState & ControlState::SELECTED)
...@@ -1537,7 +1540,7 @@ bool GtkSalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nP ...@@ -1537,7 +1540,7 @@ bool GtkSalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nP
// return true; // return true;
case CTRL_TAB_ITEM: case CTRL_TAB_ITEM:
// case CTRL_TAB_PANE: case CTRL_TAB_PANE:
case CTRL_TAB_BODY: case CTRL_TAB_BODY:
if(nPart==PART_ENTIRE_CONTROL || nPart==PART_TABS_DRAW_RTL) if(nPart==PART_ENTIRE_CONTROL || nPart==PART_TABS_DRAW_RTL)
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment