X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a328684392b1a97623ff02cb4bb174d25f376900..b2cef83022bfc666057b17f992a4f34618ea5a62:/src/msw/listctrl.cpp diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 31f88779ca..351c3a512f 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -318,7 +318,7 @@ bool wxListCtrl::Create(wxWindow *parent, const wxPoint& pos, const wxSize& size, long style, - const wxValidator& validator, + const wxValidator& wxVALIDATOR_PARAM(validator), const wxString& name) { #if wxUSE_VALIDATORS @@ -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)); }