From 2c64cdd692ea0f95e89779f47b354b83390a89f7 Mon Sep 17 00:00:00 2001 From: Peter McGoron Date: Wed, 11 Aug 2021 13:03:53 -0400 Subject: [PATCH] Show window This program will use wxPython to make things more portable. --- __main__.py | 6 ++++++ mainwin.py | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 __main__.py create mode 100644 mainwin.py diff --git a/__main__.py b/__main__.py new file mode 100644 index 0000000..50c4af7 --- /dev/null +++ b/__main__.py @@ -0,0 +1,6 @@ +import wx +import mainwin + +app = wx.App(False) +mainwin.MainWin() +app.MainLoop() diff --git a/mainwin.py b/mainwin.py new file mode 100644 index 0000000..6fa5990 --- /dev/null +++ b/mainwin.py @@ -0,0 +1,6 @@ +import wx + +class MainWin(wx.Frame): + def __init__(self): + wx.Frame.__init__(self, None, wx.ID_ANY, "Dagon Controller") + self.Show(True)