mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user