]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stattext.h
specific workaround for XCODE native
[wxWidgets.git] / include / wx / stattext.h
index 6af02942a75ded6be43226c00931b61d6acfa0c1..8590052f74938221b45eccb6218c4ffaed5ff1ef 100644 (file)
@@ -12,8 +12,10 @@ class WXDLLEXPORT wxStaticTextBase : public wxControl
 public:
     wxStaticTextBase() { }
 
 public:
     wxStaticTextBase() { }
 
-    // overriden base cirtuals
-    virtual bool AcceptsFocus() const { return FALSE; }
+    // overriden base virtuals
+    virtual bool AcceptsFocus() const { return false; }
+    virtual void ApplyParentThemeBackground(const wxColour& bg)
+        { SetBackgroundColour(bg); }
 
 private:
     DECLARE_NO_COPY_CLASS(wxStaticTextBase)
 
 private:
     DECLARE_NO_COPY_CLASS(wxStaticTextBase)