Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-04-30 12:32:29 +00:00
parent 5b9003ae32
commit 1fb351fada
2 changed files with 9 additions and 5 deletions

View File

@@ -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() {}

View File

@@ -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;