X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..2c326adae6bcbcc9510710116ae9eb4b5581192d:/include/wx/stattext.h?ds=inline diff --git a/include/wx/stattext.h b/include/wx/stattext.h index 6af02942a7..8590052f74 100644 --- a/include/wx/stattext.h +++ b/include/wx/stattext.h @@ -12,8 +12,10 @@ class WXDLLEXPORT wxStaticTextBase : public wxControl public: wxStaticTextBase() { } - // overriden base cirtuals - virtual bool AcceptsFocus() const { return FALSE; } + // overriden base virtuals + virtual bool AcceptsFocus() const { return false; } + virtual void ApplyParentThemeBackground(const wxColour& bg) + { SetBackgroundColour(bg); } private: DECLARE_NO_COPY_CLASS(wxStaticTextBase)