]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
correction to exception handling in threads: call wxThread::OnExit() always
[wxWidgets.git] / src / msw / listctrl.cpp
index 3524895a5f687b2b4938490a1663d7cb2e7cd093..64051935b0a50c57b0c9e2cc2c221768a87c585f 100644 (file)
@@ -1063,11 +1063,15 @@ wxSize wxListCtrl::GetItemSpacing() const
     return wxSize(LOWORD(spacing), HIWORD(spacing));
 }
 
+#if WXWIN_COMPATIBILITY_2_6
+
 int wxListCtrl::GetItemSpacing(bool isSmall) const
 {
     return ListView_GetItemSpacing(GetHwnd(), (BOOL) isSmall);
 }
 
+#endif // WXWIN_COMPATIBILITY_2_6
+
 void wxListCtrl::SetItemTextColour( long item, const wxColour &col )
 {
     wxListItem info;