From: Włodzimierz Skiba Date: Sun, 30 Apr 2006 12:32:29 +0000 (+0000) Subject: Warning fixes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1fb351fada39761f46c2d922d446e415673edf37 Warning fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dirdlg.h b/include/wx/dirdlg.h index 7a849a713a..4698416fff 100644 --- a/include/wx/dirdlg.h +++ b/include/wx/dirdlg.h @@ -47,7 +47,9 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, const wxString& name = wxDirDialogNameStr) - : wxDialog(parent, wxID_ANY, title, pos, sz, style, name) {} + : wxDialog(parent, wxID_ANY, title, pos, sz, style, name) + , m_path(defaultPath) + {} wxDirDialogBase() {} virtual ~wxDirDialogBase() {} diff --git a/src/generic/dirdlgg.cpp b/src/generic/dirdlgg.cpp index e52fea9d91..2c50f0ec39 100644 --- a/src/generic/dirdlgg.cpp +++ b/src/generic/dirdlgg.cpp @@ -84,10 +84,12 @@ wxGenericDirDialog::wxGenericDirDialog(wxWindow* parent, const wxString& title, Create(parent, title, defaultPath, style, pos, sz, name); } -bool wxGenericDirDialog::Create(wxWindow* parent, const wxString& title, - const wxString& defaultPath, long style, - const wxPoint& pos, const wxSize& sz, - const wxString& name) +bool wxGenericDirDialog::Create(wxWindow* WXUNUSED(parent), + const wxString& WXUNUSED(title), + const wxString& defaultPath, long style, + const wxPoint& WXUNUSED(pos), + const wxSize& WXUNUSED(sz), + const wxString& WXUNUSED(name)) { wxBusyCursor cursor;