X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..7a5e53abb3f9ea13eba2880972306446e4e21e83:/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() { }