Kaydet (Commit) 697d49cb authored tarafından Michael Meeks's avatar Michael Meeks

use CHECKED alias for GTK_STATE_FLAG_CHECKED instead.

Change-Id: I42a1b3d133b32ff29eb02fbc262e6ec0aa941b9c
üst 7a7f73ce
...@@ -1001,7 +1001,7 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co ...@@ -1001,7 +1001,7 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
context = mpTreeHeaderButtonStyle; context = mpTreeHeaderButtonStyle;
ButtonValue aButtonValue = rValue.getTristateVal(); ButtonValue aButtonValue = rValue.getTristateVal();
if (aButtonValue == BUTTONVALUE_ON) if (aButtonValue == BUTTONVALUE_ON)
flags = (GtkStateFlags) (flags | GTK_STATE_FLAG_CHECKED); flags = (GtkStateFlags) (flags | CHECKED);
renderType = RENDER_EXPANDER; renderType = RENDER_EXPANDER;
styleClass = GTK_STYLE_CLASS_EXPANDER; styleClass = GTK_STYLE_CLASS_EXPANDER;
break; break;
......
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