Hi Herbert,

One of the things that have never understood about your code is the way you call events.

You use this structure:

  Wx::Event::EVT_AUINOTEBOOK_PAGE_CLOSE( $bar, -1, sub {

I use this structure:

  Wx::Event::EVT_AUINOTEBOOK_PAGE_CLOSE( $frame, $bar, sub {

And the doc says:

EVT_AUINOTEBOOK_PAGE_CLOSE(id, func):

You use -1 as the id, but I think it means automatically assign id. I use $bar (although I used to use $bar->GetID()), but $bar works just as well. Maybe both $bar and -1 both work.

Does anyone have a view? What is the right way? My concern is that -1 may not uniquely identify your control.

Regards,

Steve.

On 05/09/14 17:38, herbert breunung wrote:
Hai hai 

im going now to reinstall my systme to see if the issue lies there but i found
now whats the real issue behind my previous bug reports.
as soon I run firefox or thunderbird, and even if I close them before starting
my app, certain AUI features that are triggered by constant , as this
on tab close event or the menu in right upper corner of notebar aren't there.
just after a whole reboot. just telling in case someone can track this
or it reappears so someone knows of this issue.

best
herbert


Reply via email to