X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e64df9bcc331d49d05a6dc7729ee08071e4c6408..0c05fdf3570e8066b8a9a16627562e544306a678:/include/wx/statbox.h?ds=sidebyside diff --git a/include/wx/statbox.h b/include/wx/statbox.h index 7effb7b4a2..d5661e10fc 100644 --- a/include/wx/statbox.h +++ b/include/wx/statbox.h @@ -14,8 +14,15 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxStaticBoxNameStr; class WXDLLEXPORT wxStaticBoxBase : public wxControl { public: + wxStaticBoxBase() { } + // overriden base class virtuals - virtual bool AcceptsFocus() const { return FALSE; } + virtual bool AcceptsFocus() const { return false; } + virtual void ApplyParentThemeBackground(const wxColour& bg) + { SetBackgroundColour(bg); } + +private: + DECLARE_NO_COPY_CLASS(wxStaticBoxBase) }; #if defined(__WXUNIVERSAL__)