mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Move WxApplication into its own Wx submodule
This commit is contained in:
parent
6b82c8dc9a
commit
1069565b59
1 changed files with 1 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue