]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/wxPIA_book/Chapter-09/startup_tip.py
Added the sample code from wxPython In Action to the samples dir
[wxWidgets.git] / wxPython / samples / wxPIA_book / Chapter-09 / startup_tip.py
diff --git a/wxPython/samples/wxPIA_book/Chapter-09/startup_tip.py b/wxPython/samples/wxPIA_book/Chapter-09/startup_tip.py
new file mode 100644 (file)
index 0000000..8341060
--- /dev/null
@@ -0,0 +1,8 @@
+import wx
+
+if __name__ == "__main__":
+    app = wx.PySimpleApp()
+    provider = wx.CreateFileTipProvider("tips.txt", 0)
+    wx.ShowTip(None, provider, True)
+    
+