]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stattext.h
Fix for drag object bug
[wxWidgets.git] / include / wx / stattext.h
index 525ad9eb8dc7965c24815fdbf1eeb6f5defbb0ac..c210383e5c63001abfa0c5f90b57442c78138ed3 100644 (file)
@@ -14,8 +14,11 @@ public:
 
     // overriden base virtuals
     virtual bool AcceptsFocus() const { return false; }
-    virtual bool CanApplyParentThemeBackground() const { return true; }
+    virtual void ApplyParentThemeBackground(const wxColour& bg)
+        { SetBackgroundColour(bg); }
 
+    bool GetAdjustMinSizeFlag() const { return !HasFlag(wxST_NO_AUTORESIZE); }
+    
 private:
     DECLARE_NO_COPY_CLASS(wxStaticTextBase)
 };