Re: cross-thread update requests
nummish <[email protected]> Thu, 12 May 2005 14:03:07 -0400
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <[email protected]> |
Just curious, you're using the CVS build of wx.net correct? On 5/12/05, Greg Hewgill <[email protected]> wrote: > Thanks, that seems to do the trick. However, I had to not use the > EventHandler reference because I got a "Unhandled Exception: > System.MissingMethodException: Constructor on type wx.EvtHandler not > found." exception at runtime when using that. Calling the > AddPendingEvent member of the (in this case) HtmlListBox seemed to work. > > Thanks! > > Greg Hewgill > > -----Original Message----- > From: [email protected] > [mailto:[email protected]]On Behalf Of nummish > Sent: Thursday, May 12, 2005 11:51 > To: [email protected] > Subject: Re: [Wxnet-users] cross-thread update requests > > I usually use: > > this.EventHandler.AddPendingEvent(new UpdateUIEvent(_GuiUiId)); > > where _GuiUiId is assigned in the constructor by calling > this.UniqueID(); > > > -- Bigger 1:23 This address if for mailing list traffic only. Please direct non-list correspondence to 0x90.org ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click