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