fix swi call leak
improve yapi reformat
This commit is contained in:
@@ -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()
|
||||
|
@@ -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))
|
||||
|
||||
|
Reference in New Issue
Block a user