From: Vadim Zeitlin Date: Thu, 4 Dec 2008 23:14:00 +0000 (+0000) Subject: add size parameter to the generic wxFileDialog ctor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bd44dee6986e5c9f706e842b9e969798e130099f add size parameter to the generic wxFileDialog ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/filedlgg.h b/include/wx/generic/filedlgg.h index e27901cee5..2f66fee199 100644 --- a/include/wx/generic/filedlgg.h +++ b/include/wx/generic/filedlgg.h @@ -131,7 +131,7 @@ private: class WXDLLIMPEXP_CORE wxFileDialog: public wxGenericFileDialog { public: - wxFileDialog() {} + wxFileDialog() {} wxFileDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr, @@ -139,8 +139,12 @@ public: const wxString& defaultFile = wxEmptyString, const wxString& wildCard = wxFileSelectorDefaultWildcardStr, long style = 0, - const wxPoint& pos = wxDefaultPosition) - :wxGenericFileDialog(parent, message, defaultDir, defaultFile, wildCard, style, pos) + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize) + :wxGenericFileDialog(parent, message, + defaultDir, defaultFile, wildCard, + style, + pos, size) { }