Hi again Ed,

 >Done. The idea is that one of the potential controls (the check box)
 >takes a caption, so it was added to the boilerplate code used by the
 >wizard. I've posted an update that removes that.

Great! i've removed the Captions from my code manually, but it great 
that you've updated the Appwizard

 > I don't understand why this happens, but somewhere the wires are
 > getting crossed. The problem is not that the subsequent controls are
 > masked.TextCtrl (checking the type or using isinstance() will show
 > that), but that the code *thinks* that they are masked, and calls
 > methods as if they *were* masked controls. Remember, if they truly
 > were masked controls, they *would* have the _autofit attribute.

But have you noticed *where* we get the _autofit error?
textctrl.py:264 inside the SetFont method of BaseMaskedTextCtrl...
Plain wx.TextCtrl *shouldn't* even call method, right?

IMHO somewhere down the road plain wxTextCtrls are coerced (is that the 
right word?) to wx.lib.masked.TextCtrl, but somehow the _autofit 
attribute doesnt get defined this way, if we dont have a Caption, the 
SetFont method never gets called and everithing works, but as soon as it 
get called the issue emerges...

I will try to send you a code sample tomorrow to demonstrate the problem 
better.

 > Welcome aboard, and thanks for the compliments! The more people who
 > get involved, the better the framework will become.

Thats is the beauty of opensource! Everybody benefits from the code, 
everyone improves the code, the code evolves faster!

Regards,
Pedro Vale de Gato


_______________________________________________
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]

Reply via email to