]> git.saurik.com Git - wxWidgets.git/blame - wxPython/tests/test_appleevents.py
Modified form of Patch #1611222, adds wxSearchCtrl (generic & native carbon HISearchF...
[wxWidgets.git] / wxPython / tests / test_appleevents.py
CommitLineData
ae0205b9
RD
1import sys, os
2import wx
3
4class 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
15app = MyApp()
16app.MainLoop()
17