Search found 3 matches

by nummish
Fri Apr 15, 2005 3:29 pm
Forum: wx.NET
Topic: Thread-safe GUI updates
Replies: 3
Views: 5131

requires building the CVS head, as the patches for this are fairly new using wx; using System; public class EventTest : Frame { public EventTest() : base("EventTest", wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE) { InitializeComponent(); } private TextCtrl txtResults; private Button butEv...
by nummish
Wed Apr 06, 2005 3:43 am
Forum: wx.NET
Topic: bug with menu events !!!
Replies: 4
Views: 3004

you have the Form's ID automatically generated, but are defining the menu's ID as a constant. Try using the Window.UniqueID() method to generate a unique one (this.UniqueID in this case iirc)
by nummish
Fri Jan 07, 2005 6:39 pm
Forum: wx.NET
Topic: important bug
Replies: 6
Views: 2586

That seems similar to the bug I experienced regarding high ascii in the TextCtrl classes. I wrote a simple test for it, available here. http://www.0x90.org/~nummish/wx/TestCrash.cs I was fiddling with the source an I think I mitigated it by passing the length of the string into the wxString construc...