- virtual void ApplyParentThemeBackground(const wxColour& bg)
- {
- // avoide switching into owner-drawn mode
- wxControl::SetBackgroundColour(bg);
- }
-
-#ifdef __WIN32__
- // coloured buttons support
- virtual bool SetBackgroundColour(const wxColour &colour);
- virtual bool SetForegroundColour(const wxColour &colour);
-
- virtual bool MSWOnDraw(WXDRAWITEMSTRUCT *item);
-
-private:
- void MakeOwnerDrawn();
-#endif // __WIN32__