Skip to content

Commit c55c478

Browse files
committed
Fix recently introduced use of nullptr in wxGenericListCtrl
Correct the too hastily backported change of cb69e76 (Fix not refreshing generic wxListCtrl after deleting last item, 2023-10-06) and use NULL instead of nullptr in this branch.
1 parent ee8dfc6 commit c55c478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic/listctrl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ void wxListMainWindow::RefreshAfter( size_t lineFrom )
19981998
// even if lineFrom is invalid because it may have been (just) deleted
19991999
// when we're called from DeleteItem().
20002000
size_t visibleFrom;
2001-
GetVisibleLinesRange(&visibleFrom, nullptr);
2001+
GetVisibleLinesRange(&visibleFrom, NULL);
20022002

20032003
if ( lineFrom < visibleFrom )
20042004
lineFrom = visibleFrom;

0 commit comments

Comments
 (0)