mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Move WxApplication into its own Wx submodule
This commit is contained in:
parent
6b82c8dc9a
commit
1069565b59
@ -1,12 +1,8 @@
|
|||||||
from Cura.WxApplication import WxApplication
|
from Cura.Wx.WxApplication import WxApplication
|
||||||
|
|
||||||
import wx
|
|
||||||
|
|
||||||
class PrinterApplication(WxApplication):
|
class PrinterApplication(WxApplication):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(PrinterApplication, self).__init__()
|
super(PrinterApplication, self).__init__()
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
frame = wx.Frame(None, wx.ID_ANY, "Hello World")
|
|
||||||
frame.Show(True)
|
|
||||||
super(PrinterApplication, self).run()
|
super(PrinterApplication, self).run()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user