On Jul 11, 2007, at 1:05 PM, Simen Haugen wrote:
> I was creating my own control (for the first time, so you might
> want to
> correct me).
>
> It's derived from dControlMixin and wx.Control.
> The control just draws a bitmap with text beside using drawBitmap and
> drawText. It does this in the __init__ function(I looked at other dabo
> controls to see what I had to do in the initializer).
>
> When calling drawText, and every time the control was updated, I got
> this error. There is no problem as it workes as expected anyway,
> but the
> errors gets printed even if it's in a try clause which causes apps
> compiled with py2exe to complain about unhandled exceptions when
> closing
> the application. I guess this is because of how wxPython works with
> trapping exceptions from wxWidgets...
Would you mind posting your class code on Trac so I can test it?
Also, since you're using py2exe, I can assume that you're running
this on Windows?
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]