Try the following:
Put a couple of tracks in your workspace.
They can be a mix of expanded and minimised.
Delete a track
Undo the delete
See what happens to the display of any minimised tracks. Also, try
minimising tracks which were previously expanded.
The results on my build (CVS head, WinXP, wxWidgets 2.6.4) are not pretty.