]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/treectrl.h
1. changed spelling error in wxTR_HAS_VARIABLE_HEIGHT (missing 'E')
[wxWidgets.git] / include / wx / generic / treectrl.h
index 6a8a31c707756e73b37af7c12017f2b5ce470ac4..ba5bb3ef6ded1c5b3314df25754a908de1063177 100644 (file)
@@ -31,6 +31,9 @@ WXDLLEXPORT_DATA(extern const char*) wxTreeCtrlNameStr;
 #include "wx/pen.h"
 #include "wx/dynarray.h"
 
+//those defines should only be done in generic/treectrl.h, 
+//because wxMSW doesn't allow mutiple selection
+
 #ifndef wxTR_SINGLE
 #define wxTR_SINGLE                 0x0000
 #define wxTR_MULTIPLE               0x0020
@@ -435,7 +438,7 @@ public:
     void Unselect();
     void UnselectAll();
         // select this item
-    void SelectItem(const wxTreeItemId& item, bool unselect_others=true, bool extended_select=false);
+    void SelectItem(const wxTreeItemId& item, bool unselect_others=TRUE, bool extended_select=FALSE);
         // make sure this item is visible (expanding the parent item and/or
         // scrolling to this item if necessary)
     void EnsureVisible(const wxTreeItemId& item);