from Cura.Wx.WxApplication import WxApplication

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

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()

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