minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,8 +37,11 @@ class TestPanel(wx.Panel):
|
|||||||
# Finally, if the directory is changed in the process of getting files, this
|
# Finally, if the directory is changed in the process of getting files, this
|
||||||
# dialog is set up to change the current working directory to the path chosen.
|
# dialog is set up to change the current working directory to the path chosen.
|
||||||
dlg = wx.FileDialog(
|
dlg = wx.FileDialog(
|
||||||
self, message="Choose a file", defaultDir=os.getcwd(),
|
self, message="Choose a file",
|
||||||
defaultFile="", wildcard=wildcard, style=wx.OPEN | wx.MULTIPLE | wx.CHANGE_DIR
|
defaultDir=os.getcwd(),
|
||||||
|
defaultFile="",
|
||||||
|
wildcard=wildcard,
|
||||||
|
style=wx.OPEN | wx.MULTIPLE | wx.CHANGE_DIR
|
||||||
)
|
)
|
||||||
|
|
||||||
# Show the dialog and retrieve the user response. If it is the OK response,
|
# Show the dialog and retrieve the user response. If it is the OK response,
|
||||||
|
Reference in New Issue
Block a user