Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version check wxWidgets workaround in TreeModel::Clear
The comment indicates that the ItemsDeleted-before-Clear workaround is needed for 3.0.5, but on my Ubuntu 20.04 system with 3.0.4, this actually causes an assertion deep within wxWidgets. The workaround is therefore placed behind a wxCHECK_VERSION macro to avoid using it on 3.0.4 and earlier.
- Loading branch information