From 31cc5049d386913adeba034e499e3c181ad54a50 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 24 May 2009 17:39:49 +0000 Subject: [PATCH] correct the inversed assert check in LVN_DELETEITEM handler (closes #10831) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 1958bc930d..d3ec4279ed 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -2222,7 +2222,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) } } - wxASSERT_MSG( data, "invalid internal data pointer?" ); + wxASSERT_MSG( !data, "invalid internal data pointer?" ); } break; -- 2.45.2