X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..7eb8c6ee3e90554c94d05dc06e6826f832640927:/include/wx/bmpbuttn.h diff --git a/include/wx/bmpbuttn.h b/include/wx/bmpbuttn.h index ebaafefda3..c874c9d9da 100644 --- a/include/wx/bmpbuttn.h +++ b/include/wx/bmpbuttn.h @@ -61,6 +61,10 @@ public: int GetMarginX() const { return m_marginX; } int GetMarginY() const { return m_marginY; } + virtual void ApplyParentThemeBackground(const wxColour& bg) + { SetBackgroundColour(bg); } + + protected: // function called when any of the bitmaps changes virtual void OnSetBitmap() { }