Ed Leafe wrote: > On Nov 14, 2007, at 2:53 PM, Paul McNett wrote: > >> Quick question regarding this (haven't dug into it at all): is there a >> reason we don't make dTextBox descend from the wx masked textbox >> regardless of whether the Masked property is set? IOW, why not let all >> dabo textboxes have masking ability all the time and not just when we >> remember to set the property in the constructor? > > There are some wxPython version issues, I recall. I don't know how > well, if at all, it works in 2.6 or earlier.
If that's the issue, we should bracket on wx version instead of whether the appdev sent a Masked property to the constructor. Pre 2.8, subclass wx.TextCtrl, otherwise subclass wx.lib.masked. -- pkm ~ http://paulmcnett.com _______________________________________________ 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/dabo-users/[EMAIL PROTECTED]
