diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 563a68193e..3c955aeb1e 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -1998,7 +1998,7 @@ void wxListMainWindow::RefreshAfter( size_t lineFrom ) // even if lineFrom is invalid because it may have been (just) deleted // when we're called from DeleteItem(). size_t visibleFrom; - GetVisibleLinesRange(&visibleFrom, nullptr); + GetVisibleLinesRange(&visibleFrom, NULL); if ( lineFrom < visibleFrom ) lineFrom = visibleFrom;