Skip to content

Commit

Permalink
Fix joystick stub compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
swt2c committed Jan 7, 2019
1 parent 1702cb6 commit 0c0437b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etg/joystick.py
Expand Up @@ -36,8 +36,8 @@ def run():
assert isinstance(c, etgtools.ClassDef)
c.mustHaveApp()

c.addItem(MethodDef(name='GetMaxButtons', type='int', isConst=True))
c.addItem(MethodDef(name='GetMaxAxes', type='int', isConst=True))
c.addItem(MethodDef(name='GetMaxButtons', type='int', isConst=True, argsString='() const'))
c.addItem(MethodDef(name='GetMaxAxes', type='int', isConst=True, argsString='() const'))

tools.generateStubs('wxUSE_JOYSTICK', module)

Expand Down

0 comments on commit 0c0437b

Please sign in to comment.