X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce914f7319a5946f49da4c06e95be94dcd49611e..c331ac2ed75ba5c435d745e9282c27a339da4f18:/wxPython/src/controls2.i diff --git a/wxPython/src/controls2.i b/wxPython/src/controls2.i index 5e4c8aff58..ebbb299a32 100644 --- a/wxPython/src/controls2.i +++ b/wxPython/src/controls2.i @@ -1308,11 +1308,11 @@ 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 char* name = "dirCtrl" ); %name(wxPreGenericDirCtrl)wxGenericDirCtrl(); @@ -1321,11 +1321,11 @@ public: %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 char* name = "dirCtrl" );