Explicitly specify the pyArgsString for wx.TextAttr.SetFont since the generators don't know how to handle the & operator in bitflags yet.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-05-22 00:18:03 +00:00
parent 29d1610e0e
commit c133c08a8b

View File

@@ -35,6 +35,7 @@ def run():
assert isinstance(c, etgtools.ClassDef)
c.find('operator=').ignore()
c.find('SetFont').pyArgsString = '(font, flags=TEXT_ATTR_FONT & ~TEXT_ATTR_FONT_PIXEL_SIZE)'
c = module.find('wxTextCtrl')
module.addGlobalStr('wxTextCtrlNameStr', c)