]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/listctrl.h
Don't include <CoreFoundation/CFBase.h> because it in turn includes MacTypes.h which...
[wxWidgets.git] / include / wx / msw / listctrl.h
index 81a0f2fa08063c473001dea6600aafb0e6ac0f43..cf4bfdd64e2c454c2aea89d632c82a80ada45f37 100644 (file)
 #ifndef _WX_LISTCTRL_H_
 #define _WX_LISTCTRL_H_
 
-#include "wx/control.h"
+#include "wx/textctrl.h"
 
 class WXDLLEXPORT wxImageList;
-class WXDLLIMPEXP_CORE wxTextCtrl;
 
 /*
     The wxListCtrl can show lists of items in four different modes:
@@ -164,7 +163,8 @@ public:
     wxUIntPtr GetItemData(long item) const ;
 
     // Sets the item data
-    bool SetItemData(long item, long data) ;
+    bool SetItemPtrData(long item, wxUIntPtr data);
+    bool SetItemData(long item, long data) { return SetItemPtrData(item, data); }
 
     // Gets the item rectangle
     bool GetItemRect(long item, wxRect& rect, int code = wxLIST_RECT_BOUNDS) const ;