X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34a544a635f3bac9320e6eb41aaaa5a5e8d1f5a4..da9714b5c8f2c768289576604786fa9638a2962e:/wxPython/demo/DirDialog.py diff --git a/wxPython/demo/DirDialog.py b/wxPython/demo/DirDialog.py index c1b1c2a433..eed1be3beb 100644 --- a/wxPython/demo/DirDialog.py +++ b/wxPython/demo/DirDialog.py @@ -15,7 +15,10 @@ class TestPanel(wx.Panel): def OnButton(self, evt): # In this case we include a "New directory" button. dlg = wx.DirDialog(self, "Choose a directory:", - style=wx.DD_DEFAULT_STYLE|wx.DD_NEW_DIR_BUTTON) + style=wx.DD_DEFAULT_STYLE + #| wx.DD_DIR_MUST_EXIST + #| wx.DD_CHANGE_DIR + ) # If the user selects OK, then we process the dialog's data. # This is done by getting the path data from the dialog - BEFORE