Search found 3 matches

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

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: 3175

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: 2855

That seems similar to the bug I experienced regarding high ascii in the TextCtrl classes. I wrote a simple test for it, available here. I was fiddling with the source an I think I mitigated it by passing the length of the string into the wxString construc...