This simplifies the code and fixes the bug with GetItemCount() returning wrong (old) value in wxEVT_LIST_INSERT_ITEM event handler as m_count wasn't updated by then yet. Closes #3793.
This simplifies the code and fixes the bug with GetItemCount() returning wrong (old) value in wxEVT_LIST_INSERT_ITEM event handler as m_count wasn't updated by then yet. Closes #3793.