X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..31ad423e4fb556ec225a63b161154d3bf3445c1b:/include/wx/stattext.h 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)