aded mainpage

This commit is contained in:
danamir
2018-03-08 18:59:38 +03:00
parent dab108946a
commit 325e8451f9
3 changed files with 15 additions and 47 deletions

15
main.py
View File

@@ -1,6 +1,19 @@
from gui import mainpage
import wx
class Page1(wx.Panel):
def __init__(self, parent):
wx.Panel.__init__(self, parent)
sizer_all = wx.BoxSizer(wx.HORIZONTAL)
app = wx.App(False)
frame = wx.Frame(None)
panel =Page1(frame)
frame.Show()
app.MainLoop()