diff --git a/etg/joystick.py b/etg/joystick.py index 8508ceda2..9f4534ee2 100644 --- a/etg/joystick.py +++ b/etg/joystick.py @@ -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)