]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dirdlg.cpp
Motif files added.
[wxWidgets.git] / src / motif / dirdlg.cpp
diff --git a/src/motif/dirdlg.cpp b/src/motif/dirdlg.cpp
new file mode 100644 (file)
index 0000000..56828d8
--- /dev/null
@@ -0,0 +1,42 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        dirdlg.cpp
+// Purpose:     wxDirDialog
+// Author:      Julian Smart
+// Modified by:
+// Created:     17/09/98
+// RCS-ID:      $Id$
+// Copyright:   (c) Julian Smart
+// Licence:    wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifdef __GNUG__
+#pragma implementation "dirdlg.h"
+#endif
+
+#include "wx/defs.h"
+#include "wx/utils.h"
+#include "wx/dialog.h"
+#include "wx/dirdlg.h"
+
+#include "wx/cmndata.h"
+
+#if !USE_SHARED_LIBRARY
+IMPLEMENT_CLASS(wxDirDialog, wxDialog)
+#endif
+
+wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
+        const wxString& defaultPath,
+        long style, const wxPoint& pos)
+{
+    m_message = message;
+    m_dialogStyle = style;
+    m_parent = parent;
+       m_path = defaultPath;
+}
+
+int wxDirDialog::ShowModal()
+{
+    // TODO
+       return wxID_CANCEL;
+}
+