X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e64df9bcc331d49d05a6dc7729ee08071e4c6408..c65650d7b5472d00da0a0516ff1a2ccf53746319:/include/wx/stattext.h diff --git a/include/wx/stattext.h b/include/wx/stattext.h index 60fd8ede0a..8590052f74 100644 --- a/include/wx/stattext.h +++ b/include/wx/stattext.h @@ -10,8 +10,15 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxStaticTextNameStr; class WXDLLEXPORT wxStaticTextBase : public wxControl { public: - // overriden base class virtuals - virtual bool AcceptsFocus() const { return FALSE; } + wxStaticTextBase() { } + + // overriden base virtuals + virtual bool AcceptsFocus() const { return false; } + virtual void ApplyParentThemeBackground(const wxColour& bg) + { SetBackgroundColour(bg); } + +private: + DECLARE_NO_COPY_CLASS(wxStaticTextBase) }; #if defined(__WXUNIVERSAL__)