Check that item ID is initialized when inserting it in wxListCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 May 2012 14:24:01 +0000 (14:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 May 2012 14:24:01 +0000 (14:24 +0000)
commit912886949a38fe8f00e573337f53d4942bfed14a
tree5bcdcba47ae1454b4667d08a420fbd87051057b4
parentae4375b878f28ba89fd1814740c9293ba367c230
Check that item ID is initialized when inserting it in wxListCtrl.

Using uninitialized ID happened to work by accident with 2.8 but it doesn't
work any more, try to detect this as early as possible and give a clear
explanation of why it doesn't to help fixing the broken code that used to
accidentally work.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/listctrl.cpp