From ccefe8da5f591754a355f08e0bde964a4bed88a5 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sat, 21 Dec 2019 11:41:14 -0500 Subject: [PATCH] Remove unused default arguments for FileDialogWrapper --- src/widgets/wxPanelWrapper.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/widgets/wxPanelWrapper.h b/src/widgets/wxPanelWrapper.h index d9490b666..ce51f3a29 100644 --- a/src/widgets/wxPanelWrapper.h +++ b/src/widgets/wxPanelWrapper.h @@ -168,10 +168,10 @@ public: // Constructor with no modal flag - the new convention. FileDialogWrapper( wxWindow *parent, - const TranslatableString& message = XO("Select a file"), - const FilePath& defaultDir = {}, - const FilePath& defaultFile = {}, - const wxString& wildCard = wxFileSelectorDefaultWildcardStr, + const TranslatableString& message, + const FilePath& defaultDir, + const FilePath& defaultFile, + const wxString& wildCard, long style = wxFD_DEFAULT_STYLE, const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, @@ -185,10 +185,10 @@ public: // Pseudo ctor void Create( wxWindow *parent, - const TranslatableString& message = XO("Select a file"), - const FilePath& defaultDir = {}, - const FilePath& defaultFile = {}, - const wxString& wildCard = wxFileSelectorDefaultWildcardStr, + const TranslatableString& message, + const FilePath& defaultDir, + const FilePath& defaultFile, + const wxString& wildCard, long style = wxFD_DEFAULT_STYLE, const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize,