Re: Menu Events

Alexander Olk <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <1092339647.3899.1.camel@Dellkiste>
Am Do, den 12.08.2004 schrieb ALF BanCo Support um 8:33:
> im using the binary version 0.5 on windows. When a add eventhandlers to a
> menu item the application will exit without any error message.
> 
> I was trying to add the handler with the new events:
> 
> this.mnuFileExit.Click += new EventListener(mnuFileExit_Click);
> 
> private void mnuFileExit_Click(object sender, Event e)
> {
>  this.Close();
> }

Can you provide a little bit more code ???
(the ctor of the Frame/Window for example...)

-- 
Alexander Olk



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.