X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..400a9e419b229cd511d73922bd5506aaab3b120e:/include/wx/statbox.h diff --git a/include/wx/statbox.h b/include/wx/statbox.h index c0a5ed5da3..d5661e10fc 100644 --- a/include/wx/statbox.h +++ b/include/wx/statbox.h @@ -17,7 +17,9 @@ 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)