]> git.saurik.com Git - wxWidgets.git/blob - wxPython/tests/test_appleevents.py
fix extra comma at the end of wxStretch enum introduced by last commit
[wxWidgets.git] / wxPython / tests / test_appleevents.py
1 import sys, os
2 import wx
3
4 class MyApp(wx.App):
5 def OnInit(self):
6 f = wx.Frame(None, title="Hello World")
7 f.Show()
8 return True
9
10 def MacOpenFile(self, filename):
11 # code to load filename goes here.
12 wx.MessageBox(
13 "You requested to open this file:\n\"%s\"" % filename)
14
15 app = MyApp()
16 app.MainLoop()
17