]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stattext.h
added status bar fields styles support (patch 988292)
[wxWidgets.git] / include / wx / stattext.h
index 525ad9eb8dc7965c24815fdbf1eeb6f5defbb0ac..8590052f74938221b45eccb6218c4ffaed5ff1ef 100644 (file)
@@ -14,7 +14,8 @@ public:
 
     // overriden base virtuals
     virtual bool AcceptsFocus() const { return false; }
-    virtual bool CanApplyParentThemeBackground() const { return true; }
+    virtual void ApplyParentThemeBackground(const wxColour& bg)
+        { SetBackgroundColour(bg); }
 
 private:
     DECLARE_NO_COPY_CLASS(wxStaticTextBase)