X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e64df9bcc331d49d05a6dc7729ee08071e4c6408..1f30c17645c56f85178ee780fa330d954e45cea9:/include/wx/statbox.h 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__)