]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/treectrl.h
making wxMSW MSLU(unicows)-friendly
[wxWidgets.git] / include / wx / msw / treectrl.h
index 483f2023b56c192c736b2d1d13b7f6eb1274ef6f..ef9f23cff152f259b7bc782e9fae42401d56d2d7 100644 (file)
@@ -20,6 +20,8 @@
     #pragma interface "treectrl.h"
 #endif
 
+#if wxUSE_TREECTRL
+
 #include "wx/textctrl.h"
 #include "wx/dynarray.h"
 #include "wx/treebase.h"
@@ -398,6 +400,9 @@ protected:
     // SetImageList helper
     void SetAnyImageList(wxImageList *imageList, int which);
 
+    // refresh a single item
+    void RefreshItem(const wxTreeItemId& item);
+
     wxTextCtrl  *m_textCtrl;        // used while editing the item label
     wxImageList *m_imageListNormal, // images for tree elements
                 *m_imageListState;  // special images for app defined states
@@ -452,5 +457,7 @@ private:
     DECLARE_DYNAMIC_CLASS(wxTreeCtrl)
 };
 
+#endif // wxUSE_TREECTRL
+
 #endif
     // _WX_TREECTRL_H_