]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/controls2.i
added default style wxFRAME_TOOL_WINDOW to creation
[wxWidgets.git] / wxPython / src / controls2.i
index 5f1dc0cc45bbf92f4838f0d365bdbfa495a7f7c9..ebbb299a32c89a295ac7195c54a8b815f042fee0 100644 (file)
@@ -1308,26 +1308,26 @@ class wxGenericDirCtrl: public wxControl
 {
 public:
     wxGenericDirCtrl(wxWindow *parent, const wxWindowID id = -1,
-                     const wxString &dir = wxDirDialogDefaultFolderStr,
+                     const char* dir = wxDirDialogDefaultFolderStr,
                      const wxPoint& pos = wxDefaultPosition,
                      const wxSize& size = wxDefaultSize,
                      long style = wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
-                     const wxString& filter = wxEmptyString,
+                     const char* filter = wxEmptyString,
                      int defaultFilter = 0,
-                     const wxString& name = "dirCtrl" );
+                     const char* name = "dirCtrl" );
     %name(wxPreGenericDirCtrl)wxGenericDirCtrl();
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
     %pragma(python) addtomethod = "wxPreGenericDirCtrl:val._setOORInfo(val)"
 
     bool Create(wxWindow *parent, const wxWindowID id = -1,
-                const wxString &dir = wxDirDialogDefaultFolderStr,
+                const char* dir = wxDirDialogDefaultFolderStr,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
-                const wxString& filter = wxEmptyString,
+                const char* filter = wxEmptyString,
                 int defaultFilter = 0,
-                const wxString& name = "treeCtrl" );
+                const char* name = "dirCtrl" );
 
 
     // Try to expand as much of the given path as possible.