]> git.saurik.com Git - wxWidgets.git/commitdiff
replaces unsigned int with wxUIntPtr
authorRobert Roebling <robert@roebling.de>
Tue, 20 May 2008 17:15:27 +0000 (17:15 +0000)
committerRobert Roebling <robert@roebling.de>
Tue, 20 May 2008 17:15:27 +0000 (17:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dataview/dataview.cpp

index 0217bb0ec28ddf7c6e77ddb9c9213149763d2ebc..93dde3d8380dec47d76707c60278d2751d24d553 100644 (file)
@@ -232,8 +232,8 @@ public:
             if (res) return res;
             
             // items must be different
-            unsigned long litem1 = (unsigned long) item1.GetID();    
-            unsigned long litem2 = (unsigned long) item2.GetID();    
+            wxUIntPtr litem1 = (wxUIntPtr) item1.GetID();    
+            wxUIntPtr litem2 = (wxUIntPtr) item2.GetID();    
 
             return litem1-litem2;
         }