]> git.saurik.com Git - wxWidgets.git/commitdiff
correct the inversed assert check in LVN_DELETEITEM handler (closes #10831)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 May 2009 17:39:49 +0000 (17:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 May 2009 17:39:49 +0000 (17:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listctrl.cpp

index 1958bc930db6cd6dea916928645365d3c1a86e3e..d3ec4279ed54190dd19359c9cf9e9c2ca1c30612 100644 (file)
@@ -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;