I got a suggestion for Padre to replace Wx::Notebook by Wx::AuiNotebook http://padre.perlide.org/ticket/87
Simply applying that change provides the [x] on the notebook tabs which is really cool and as I looked at the AUI demo in Wx::Demo and the docs we will be able to provide nice drag-n-drop features there. The problem is that it totally broke the close app features. First when I clicked on a [x] for a tab with a changed file it would silently close it. I managed to fix that by adding an EVT_AUINOTEBOOK_PAGE_CLOSE even handle and connect it to the same place where the File/Close menu item is. There are still really strange things going on. I am in the middle of trying to describe them so maybe I can find some cure but I wonder what extra magic I might need to deal with AUI ? Is there a list of events the AUI widgets generate besides grep-in the source of WxPerl? Gabor
