fix swi call leak

improve yapi
reformat
This commit is contained in:
Vitor Santos Costa
2017-06-19 19:02:36 +01:00
parent 6b545c8f71
commit d7e21c80df
35 changed files with 2412 additions and 2334 deletions

View File

@@ -28,6 +28,7 @@ from internal_yapkernel import InternalYAPKernel
class SimpleWindow(Qt.QWidget, InternalYAPKernel):
def __init__(self, app):
# type: (object) -> object
Qt.QWidget.__init__(self)
self.app = app
self.add_widgets()

View File

@@ -36,6 +36,7 @@ class MyFrame(wx.Frame, InternalYAPKernel):
"""
def __init__(self, parent, title):
# type: (object, object) -> object
wx.Frame.__init__(self, parent, -1, title,
pos=(150, 150), size=(350, 285))