]> git.saurik.com Git - wxWidgets.git/commitdiff
Warning fixes.
authorWłodzimierz Skiba <abx@abx.art.pl>
Sun, 30 Apr 2006 12:32:29 +0000 (12:32 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Sun, 30 Apr 2006 12:32:29 +0000 (12:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dirdlg.h
src/generic/dirdlgg.cpp

index 7a849a713a657bfe4ff02773131fdb560adaff6c..4698416fffdeb0fa0884c21737bdce2da5534ca6 100644 (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() {}
index e52fea9d913527cc81627e9631def6c34314d382..2c50f0ec39d926f3f25430774390bc122c1d4cd2 100644 (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;