X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..fd6c94288f31c06d4ad3c7d7ab17ed2e32b16b33:/include/wx/stattext.h diff --git a/include/wx/stattext.h b/include/wx/stattext.h index 6af02942a7..979152cb16 100644 --- a/include/wx/stattext.h +++ b/include/wx/stattext.h @@ -12,8 +12,9 @@ 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 bool HasTransparentBackground() { return true; } private: DECLARE_NO_COPY_CLASS(wxStaticTextBase)