+ virtual void ApplyParentThemeBackground(const wxColour& bg)
+ { SetBackgroundColour(bg); }
+
+protected:
+
+ // adjust value according to wxSL_INVERSE style
+ virtual int ValueInvertOrNot(int value) const
+ {
+ if (HasFlag(wxSL_INVERSE))
+ return (GetMax() + GetMin()) - value;
+ else
+ return value;
+ }
+