X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/adaaa68635b4c8a4d8c5284add40366ea3eefb07..730b772b41ad9df76e5226290bb9eb917ea161f0:/interface/wx/dirctrl.h diff --git a/interface/wx/dirctrl.h b/interface/wx/dirctrl.h index ab11ed588f..4769c92772 100644 --- a/interface/wx/dirctrl.h +++ b/interface/wx/dirctrl.h @@ -29,7 +29,7 @@ @library{wxbase} @category{ctrl} - + @appearance{genericdirctrl.png} */ class wxGenericDirCtrl : public wxControl { @@ -38,6 +38,7 @@ public: Default constructor. */ wxGenericDirCtrl(); + /** Main constructor. @@ -63,11 +64,11 @@ public: @param name The window name. */ - wxGenericDirCtrl(wxWindow* parent, const wxWindowID id = -1, + wxGenericDirCtrl(wxWindow* parent, const wxWindowID id = wxID_ANY, const wxString& dir = wxDirDialogDefaultFolderStr, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxDIRCTRL_3D_INTERNAL|wxBORDER_SUNKEN, + long style = wxDIRCTRL_3D_INTERNAL, const wxString& filter = wxEmptyString, int defaultFilter = 0, const wxString& name = wxTreeCtrlNameStr); @@ -91,13 +92,12 @@ public: Create function for two-step construction. See wxGenericDirCtrl() for details. */ - bool Create(wxWindow* parent, const wxWindowID id = -1, + bool Create(wxWindow* parent, const wxWindowID id = wxID_ANY, const wxString& dir = wxDirDialogDefaultFolderStr, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxDIRCTRL_3D_INTERNAL|wxBORDER_SUNKEN, - const wxString& filter = wxEmptyString, - int defaultFilter = 0, + long style = wxDIRCTRL_3D_INTERNAL, + const wxString& filter = wxEmptyString, int defaultFilter = 0, const wxString& name = wxTreeCtrlNameStr); /**