Don't cache cells being measured in wxHtmlListBox.

This can result in a crash if the measuring code is called, possibly
indirectly, from a method of a cell object itself and if that cell is
displaced from the cache while caching the cell created in OnMeasureItem().

Closes #16651.
This commit is contained in:
Vadim Zeitlin
2015-05-10 22:07:46 +02:00
parent a0157b37f2
commit 0a6b08cca3
3 changed files with 45 additions and 32 deletions

View File

@@ -116,6 +116,7 @@ All (GUI):
- Fix wxPGChoices copy ctor (Snoits).
- Show how to handle files on command line in docview sample (Neil Mayhew).
- Improve wxFileCtrl::SetFilename() and SetPath() (Kevin B. McCarty).
- Fix a crash when using animated GIFs in wxHtmlListBox.
wxGTK: