]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/wxFileDialog.py
2 from wxPython
.wx
import *
4 #---------------------------------------------------------------------------
6 def runTest(frame
, nb
, log
):
7 dlg
= wxFileDialog(frame
, "Choose a file", ".", "", "*.*", wxOPEN|wxMULTIPLE
)
8 if dlg
.ShowModal() == wxID_OK
:
9 for path
in dlg
.GetPaths():
10 log
.WriteText('You selected: %s\n' % path
)
13 #---------------------------------------------------------------------------
29 This class represents the file chooser dialog.