+ HIThemeBackgroundDrawInfo bgdrawInfo;
+ bgdrawInfo.version = 0;
+ bgdrawInfo.state = kThemeStateActive;
+ bgdrawInfo.kind = hasMetal ? kThemeBackgroundMetal : kThemeBackgroundPlacard;
+
+ if ( hasMetal )
+ HIThemeDrawBackground(&splitterRect, &bgdrawInfo, cgContext, kHIThemeOrientationNormal);
+ else
+ {
+ CGContextSetFillColorWithColor(cgContext,win->GetBackgroundColour().GetCGColor());
+ CGContextFillRect(cgContext,splitterRect);
+ }
+