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

make selected gtk3 menu entries visible under default f21 theme

Change-Id: I7c7043dcc085e7cf31a973929c32c2ebada841b5
üst c11b6b64
...@@ -835,6 +835,11 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co ...@@ -835,6 +835,11 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
} }
break; break;
case CTRL_MENU_POPUP: case CTRL_MENU_POPUP:
// map selected menu entries in vcl parlance to gtk prelight
if (nPart >= PART_MENU_ITEM && nPart <= PART_MENU_SUBMENU_ARROW && (nState & ControlState::SELECTED))
flags = (GtkStateFlags) (flags | GTK_STATE_FLAG_PRELIGHT);
switch(nPart) switch(nPart)
{ {
case PART_MENU_ITEM: case PART_MENU_ITEM:
......
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