Hi,

ShadowFlare wrote:
I'm writing a tabbed editor with wxPerl using Wx::AuiNotebook and I want to
have it show a prompt when clicking the X on the tabs.  I've looked at
documentation all over to try to find how to use EVT_AUINOTEBOOK_PAGE_CLOSE
(or EVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE?), but I have not been able to find
what code to use so that it does not say that it is undefined.  Is there
anyone who could advise me on how to use this event? (what to pass on the
'use' statements, etc.)  Are the events I've named even the correct ones?

  Hi,

use Wx::Event qw(EVT_AUINOTEBOOK_PAGE_CLOSE);

should work.

HTH
Mattia

Reply via email to