]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treectrl.h
fixed compilation error
[wxWidgets.git] / include / wx / treectrl.h
index b6d81ef686c25dad112a37eb459c340451c5cdef..631c3393acc64c4449f1643b60195cd87309802f 100644 (file)
 // constants
 // ----------------------------------------------------------------------------
 
+// enum for different images associated with a treectrl item
+enum wxTreeItemIcon
+{
+    wxTreeItemIcon_Normal,              // not selected, not expanded
+    wxTreeItemIcon_Selected,            //     selected, not expanded
+    wxTreeItemIcon_Expanded,            // not selected,     expanded
+    wxTreeItemIcon_SelectedExpanded,    //     selected,     expanded
+    wxTreeItemIcon_Max
+};
+
+// tree ctrl default name
 #ifdef __WXMSW__
-WXDLLEXPORT_DATA(extern const char*) wxTreeCtrlNameStr;
+    WXDLLEXPORT_DATA(extern const char*) wxTreeCtrlNameStr;
 #else
-#define wxTreeCtrlNameStr "wxTreeCtrl"
+    #define wxTreeCtrlNameStr "wxTreeCtrl"
 #endif
 
 // ----------------------------------------------------------------------------