]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vlbox.h
don't pass NULL pointer to printf(), this crashes Solaris printf
[wxWidgets.git] / include / wx / vlbox.h
index f3ce27a421c1641813be50c7469315e3eaa45602..a512d05108a67c7d61eb460b41f921ce91ab319f 100644 (file)
@@ -189,10 +189,14 @@ public:
     void SetSelectionBackground(const wxColour& col);
 
 
-    virtual void ApplyParentThemeBackground(const wxColour& WXUNUSED(bg))
-        { /* do nothing */ }
+    virtual wxVisualAttributes GetDefaultAttributes() const
+    {
+        return GetClassDefaultAttributes(GetWindowVariant());
+    }
+
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 
-    
 protected:
     // the derived class must implement this function to actually draw the item
     // with the given index on the provided DC