From 1fb351fada39761f46c2d922d446e415673edf37 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Sun, 30 Apr 2006 12:32:29 +0000 Subject: [PATCH] Warning fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dirdlg.h | 4 +++- src/generic/dirdlgg.cpp | 10 ++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) 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; -- 2.45.2