]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/mac/zappycfiles.py
Applied new master define for CommandBar vs. PocketPC mixed bar.
[wxWidgets.git] / wxPython / distrib / mac / zappycfiles.py
index dcd41334c6758d2a832bb012b81e8a4b8d01359b..0349220d9e9a98687b1af9b2dd98cb2eef0351b5 100644 (file)
@@ -10,11 +10,10 @@ doit = 1
 def main():
        if not sys.argv[1:]:
                if os.name == 'mac':
-                       import macfs
-                       fss, ok = macfs.GetDirectory('Directory to zap pyc files in')
-                       if not ok:
+                       import EasyDialogs
+                       dir = EasyDialogs.AskFolder(message='Directory to zap pyc files in')
+                       if not dir:
                                sys.exit(0)
-                       dir = fss.as_pathname()
                        zappyc(dir)
                else:
                        print 'Usage: zappyc dir ...'