#1084: dPemMixin.draw() without fontFace set gives a wx errors
---------------------+------------------------------------------------------
  Reporter:  paul    |       Owner:  somebody
      Type:  defect  |      Status:  new     
  Priority:  major   |   Milestone:  0.9     
 Component:  ui      |     Version:          
Resolution:          |    Keywords:          
---------------------+------------------------------------------------------
Comment (by Simen Haugen <[EMAIL PROTECTED]>):

 Here's an example, but I found out that the error only gets reported when
 I use wing ide (3.0a) to run the application.

 {{{
 import dabo
 import dabo.ui
 dabo.ui.loadUI("wx")
 from dabo.ui import dControlMixin

 class TestControl(dControlMixin, dabo.ui.wx.Control):
         def __init__(self, parent, properties=None, attProperties=None,
 *args, **kwargs):
                 self._baseClass = TestControl
                 preClass = dabo.ui.wx.Control
                 dControlMixin.__init__(self, preClass, parent, properties,
 attProperties, *args, **kwargs)
                 self.drawText("Text here", 22)


 class TestForm(dabo.ui.dForm):
         def afterInit(self):
                 self.Sizer.append1x(TestControl(self))


 app = dabo.dApp()
 app.MainFormClass = TestForm
 app.setup()
 app.start()
 }}}

-- 
Ticket URL: <http://svn.dabodev.com/trac/dabo/ticket/1084#comment:1>
Dabo <http://svn.dabodev.com/trac/dabo>
Trac Page for Dabo


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

Reply via email to