]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
don't return & in strings returned by GetLabelTop() (closes 687905)
[wxWidgets.git] / src / msw / listctrl.cpp
index 98df698331816eace218947c0a13df08021b4768..351c3a512f514761efab5fc08dcec30d9a8570d1 100644 (file)
@@ -1105,7 +1105,7 @@ int wxListCtrl::GetItemCount() const
 
 wxSize wxListCtrl::GetItemSpacing() const
 {
-    const int spacing = GetItemSpacing(HasFlag(wxLC_SMALL_ICON));
+    const int spacing = ListView_GetItemSpacing(GetHwnd(), (BOOL)HasFlag(wxLC_SMALL_ICON));
 
     return wxSize(LOWORD(spacing), HIWORD(spacing));
 }