On 12/12/06, Ed Leafe <[EMAIL PROTECTED]> wrote: > On Dec 12, 2006, at 11:10 AM, Nate Lowrie wrote: > > > On another note, I was putting some touches on the dGlWindow and I > > them thought of something that gave me pause. I subclassed > > dControlMixin, which subclasses dPemMixin, which defines a DC and a > > draw area for the control. Do you think this will pose a problem? > > dPemMixin doesn't 'define' a DC; it's part of every wxPython window. > > > I haven't seen anything yet but at the same time I didn't try to draw > > something using the standard wx DC. I am inclined to leave it because > > of the other features dPemMixin brings to the table. Thoughts? > > You mean that these libraries don't use the wx DC to do their > drawing? That sounds rather odd.
That was my misunderstanding. It's been corrected. The use of the wx.DC is mostly transparent so I glossed over it and assumed something else was used. I still had to override the __onWxPaint method to get the proper response. > > -- Ed Leafe > -- http://leafe.com > -- http://dabodev.com > > > > _______________________________________________ > Post Messages to: [email protected] > Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
