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