]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
ActiveX events should be sent to the window, not it's parent.
[wxWidgets.git] / src / msw / listctrl.cpp
index 2ea528e81753ad68752d4451262ec7bfaeb101c9..5fc412bb6b8ccb23625a254f43fed6290cead298 100644 (file)
@@ -1780,7 +1780,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
                     // there's a GPF in Windows.
                     // By returning TRUE here, we avoid further processing
                     // of this strange message.
-                    if ( info->iItem >= GetColumnCount() )
+                    if ( (unsigned)info->iItem >= (unsigned)GetColumnCount() )
                         return TRUE;
                 }
                 // fall through