[Boa Constr] Copy and Paste problem with CVS version
Status: Beta
Brought to you by:
riaan
From: Blaine L. <Bla...@te...> - 2005-04-28 22:03:00
|
I am running win2k, and per shell screen: # Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] # wxPython 2.5.4.1, Boa Constructor 0.4.1 When I copy and paste, I frequently get a leading "." in front of the object name, if I commit the designer session, I get bad code. It shows up at least when copying Text controls and static text. cut and pasted code: self..TextCtrl1 = wx.TextCtrl(id=wxID_BOAFRAME.TEXTCTRL1, (snip) self.TextCtrl1.Bind(wx.EVT_TEXT_ENTER, self.OnSotdelayTextEnter, id=wxID_BOAFRAME.TEXTCTRL1) Also the wx.NewId assignment is bad, it has the same name as above, namely "wxID_BOAFRAME.TEXTCTRL1" (note '.') If I remove the rouge "."'s the code works fine. And I can go back into the designer with no problem. -- Blaine Lee Tellurian Inc. 972-623-0559 x 208 972-623-0585 FAX |