]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/treectrl.h
compilation fix for windows compilers: _wrename is declared in io.h
[wxWidgets.git] / include / wx / msw / treectrl.h
index 905c330c7f2ee9b1b73d661d729afd8c4a4400a8..4e7f7ca231f85c4a4e0db996551d616b7c9ec6b8 100644 (file)
@@ -263,8 +263,10 @@ private:
     // true if the hash above is not empty
     bool m_hasAnyAttr;
 
+#if wxUSE_DRAGIMAGE
     // used for dragging
     wxDragImage *m_dragImage;
+#endif
 
     // Virtual root item, if wxTR_HIDE_ROOT is set.
     void* m_pVirtualRoot;