from Cura.Wx.WxApplication import WxApplication

class PrinterApplication(WxApplication):
    def __init__(self):
        super(PrinterApplication, self).__init__()
        
    def run(self):
        super(PrinterApplication, self).run()

@@ -40,16 +40,58 @@
 lication
+%0Afrom Cura.Wx.MainWindow import MainWindow
 %0A%0Aclass 
@@ -220,32 +220,98 @@
  def run(self):%0A
+        window = MainWindow(%22Cura Printer%22)%0A        window.Show()%0A
         super(Pr

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