]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/wxPIA_book/Chapter-01/bare.py
Added the sample code from wxPython In Action to the samples dir
[wxWidgets.git] / wxPython / samples / wxPIA_book / Chapter-01 / bare.py
diff --git a/wxPython/samples/wxPIA_book/Chapter-01/bare.py b/wxPython/samples/wxPIA_book/Chapter-01/bare.py
new file mode 100644 (file)
index 0000000..b9417f9
--- /dev/null
@@ -0,0 +1,11 @@
+import wx
+
+class App(wx.App):
+
+    def OnInit(self):
+        frame = wx.Frame(parent=None, title='Bare')
+        frame.Show()
+        return True
+
+app = App()
+app.MainLoop()