Applied the patch, although there are a few minor issues:
1. you can only clear the list if an item is selected (contra-intuitive)
2. the four buttons are a little too wide now, we may have to play with margins
3. you used a wxMessageBox which you shouldn't
ad 1.)
The button is explicitely disabled when no item is selected. I thought that it would be very smart to just remove that line, but this breaks the functionality for the whole dialog :?
ad 2.)
Reducing the border from 8 to 5 will probably do just fine, but I did not want to try that in a hurry now.
ad 3.)
This is not your fault, you could not possibly know that :lol:
A wxMessageBox will always appear on the primary display, as the application cannot place it correctly, so wxMessageBox should be avoided when possible. This is an undocumented rule so far.
Don't worry, there are still a few wxMessageBoxes around anyway, I'll fix them alltogether some day.