Add a MainWindow class to Wx and use it in printer and scanner

This commit is contained in:
Arjen Hiemstra 2014-11-11 15:15:11 +01:00
parent 1069565b59
commit 8ad7b5546e

View file

@ -1,8 +1,11 @@
from Cura.Wx.WxApplication import WxApplication
from Cura.Wx.MainWindow import MainWindow
class PrinterApplication(WxApplication):
def __init__(self):
super(PrinterApplication, self).__init__()
def run(self):
window = MainWindow("Cura Printer")
window.Show()
super(PrinterApplication, self).run()