]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxDirDialog.py
corrected assert even better
[wxWidgets.git] / wxPython / demo / wxDirDialog.py
index 1e40bf2bb1663979e950a6649fa84b27b963c928..bbed89b9d8207152e02fb6e114b0da0a64f35c5d 100644 (file)
@@ -4,7 +4,7 @@ from wxPython.wx import *
 #---------------------------------------------------------------------------
 
 def runTest(frame, nb, log):
-    dlg = wxDirDialog(frame)
+    dlg = wxDirDialog(frame, "Choose a directory:")
     if dlg.ShowModal() == wxID_OK:
         log.WriteText('You selected: %s\n' % dlg.GetPath())
     dlg.Destroy()