add run_page function
This commit is contained in:
@@ -45,10 +45,11 @@ class SecondPage(wx.Frame):
|
|||||||
from labs.lab1 import lab1
|
from labs.lab1 import lab1
|
||||||
nex_page = lab1.MainFrame()
|
nex_page = lab1.MainFrame()
|
||||||
nex_page.Show()
|
nex_page.Show()
|
||||||
def run_page(self):
|
|
||||||
app = wx.App(False)
|
def run_page(self):
|
||||||
frame = SecondPage(None)
|
app = wx.App(False)
|
||||||
frame.Show()
|
frame = SecondPage(None)
|
||||||
app.MainLoop()
|
frame.Show()
|
||||||
|
app.MainLoop()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user