Hai,

first, on fresh recent mint all works well, my prg work wile running refent ff,.
even i didnt do anything strange with my mint, there were some issues that
suddenly popped up , not at once but are all fixed now - good.

yes thats problematic too. once i left out the - before 1 and didnt cought the
failure :). Second i really dont understand why you use the frame but

wait untill now i had the assumtion the id is a event id but now i get it its
really an widget id. but why then have 2 parameters for that. it reminds me a
bit on buttons where you have one parameter for the button  who chould trigger
the event and the other will given the callback (the widget ref you want to
have inside the callback routine to do something with that widget)
maybe thats the logic behind this too

I think that needs some tests - which i just did and its exactly how i said,
writing a wxtut pays now off :)

cheers
herbert



Am 05.09.2014 21:45, schrieb Steve Cookson - gmail:
> 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