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;