On 3/5/12 12:39 PM, Ed Leafe wrote: > On Mar 5, 2012, at 2:27 PM, Jacek Kałucki wrote: > >>> I've confirmed that there is an encoding error in the sample for >>> dTextBox. I'll take a look at it as soon as I can. >> >> I fixed this unicode error. We should remember that keyChar attribute holds >> raw key character. >> Or we should change this behaviour, should we? > > I don't see any reason why we would ever need the raw character. I took > a quick look at the event code where we create these values > (uiwx.__init__.py, lines 518-542), and it looks like it could use some > refactoring. I don't know why we need 'keyChar' and 'unicodeChar', or how > they would differ in most cases. Look over that code and see if you can > figure out a more sensible approach.
They were mapped directly from the wx model, and I always meant to come back to it. I simply didn't know at the time what we'd be needing, so I included everything. I've since changed my ways. :) Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
