]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/treectlg.h
corrected DBErrorList DLL export declaration
[wxWidgets.git] / include / wx / generic / treectlg.h
index 2aba6baa1013bb7055cf0989f1cab591cebe9838..68fb89b8b2b96d39e9f49ebdb6a0af5a84825d5e 100644 (file)
@@ -185,7 +185,8 @@ public:
 
         // if 'recursively' is FALSE, only immediate children count, otherwise
         // the returned number is the number of all items in this branch
-    size_t GetChildrenCount(const wxTreeItemId& item, bool recursively = TRUE);
+    size_t GetChildrenCount(const wxTreeItemId& item,
+                            bool recursively = TRUE) const;
 
     // navigation
     // ----------
@@ -390,6 +391,14 @@ public:
     void OnGetToolTip( wxTreeEvent &event );
     void OnInternalIdle( );
 
+    virtual wxVisualAttributes GetDefaultAttributes() const
+    {
+        return GetClassDefaultAttributes(GetWindowVariant());
+    }
+
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+    
     // implementation helpers
 protected:
     friend class wxGenericTreeItem;