add run_page function

This commit is contained in:
danamir
2018-05-03 00:14:55 +03:00
parent a985257b52
commit 7c3980cde7

View File

@@ -45,10 +45,11 @@ class SecondPage(wx.Frame):
from labs.lab1 import lab1
nex_page = lab1.MainFrame()
nex_page.Show()
def run_page(self):
app = wx.App(False)
frame = SecondPage(None)
frame.Show()
app.MainLoop()
def run_page(self):
app = wx.App(False)
frame = SecondPage(None)
frame.Show()
app.MainLoop()