Fix assertion failure after removing content.
authorCarl Hetherington <cth@carlh.net>
Mon, 24 Jun 2024 22:05:50 +0000 (00:05 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 24 Jun 2024 22:06:16 +0000 (00:06 +0200)
commitce087143165a0306b8c51eccaf08bfdd118d0e92
treef08581f25dece5e784f169aaea8359f1749553e6
parentb11083f68b7971556e5003093b44c1835407b315
Fix assertion failure after removing content.

Adding, say, 10 items of content, removing the last 8 and
then clicking somewhere in the content list would cause
OnGetItem{Text,Attr} to be called with a high index (as if
the items had not yet been removed).
src/wx/content_panel.cc