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 wxPoint& pos = wxDefaultPosition,
const wxSize& sz = wxDefaultSize, const wxSize& sz = wxDefaultSize,
const wxString& name = wxDirDialogNameStr) 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() {} wxDirDialogBase() {}
virtual ~wxDirDialogBase() {} virtual ~wxDirDialogBase() {}

View File

@@ -84,10 +84,12 @@ wxGenericDirDialog::wxGenericDirDialog(wxWindow* parent, const wxString& title,
Create(parent, title, defaultPath, style, pos, sz, name); Create(parent, title, defaultPath, style, pos, sz, name);
} }
bool wxGenericDirDialog::Create(wxWindow* parent, const wxString& title, bool wxGenericDirDialog::Create(wxWindow* WXUNUSED(parent),
const wxString& defaultPath, long style, const wxString& WXUNUSED(title),
const wxPoint& pos, const wxSize& sz, const wxString& defaultPath, long style,
const wxString& name) const wxPoint& WXUNUSED(pos),
const wxSize& WXUNUSED(sz),
const wxString& WXUNUSED(name))
{ {
wxBusyCursor cursor; wxBusyCursor cursor;