]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/DirDialog.py
The great wxVScrolledWindow refactoring: allow using it both horizontal and
[wxWidgets.git] / wxPython / demo / DirDialog.py
index c1b1c2a4331e1e2d78ded91e3f4cdb5b1176e166..eed1be3bebc52dcbf4720e2e1b6f7f8ddf92fa1b 100644 (file)
@@ -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