]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix one-off error in virtual wxListCtrl.
authorKevin Ollivier <kevino@theolliviers.com>
Tue, 28 Nov 2006 17:33:25 +0000 (17:33 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Tue, 28 Nov 2006 17:33:25 +0000 (17:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/listctrl_mac.cpp

index b54dba2296e2d6340e7d6f75be0bb8632e67e06e..52cf2e32b23e8b628d139de385e31e54500a2670 100644 (file)
@@ -2754,7 +2754,7 @@ void wxMacDataBrowserListCtrlControl::ItemNotification(DataBrowserItemID itemID,
         }
         else
         {
-            event.m_itemIndex = (long)itemID;
+            event.m_itemIndex = (long)itemID-1;
         }
 
         switch (message)