]> git.saurik.com Git - wxWidgets.git/blob - src/motif/dirdlg.cpp
Corrected XPM-related cast in resource.cpp; added generic Blitting code in wxPostScriptDC
[wxWidgets.git] / src / motif / dirdlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: dirdlg.cpp
3 // Purpose: wxDirDialog
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 17/09/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
13 #pragma implementation "dirdlg.h"
14 #endif
15
16 #include "wx/defs.h"
17 #include "wx/utils.h"
18 #include "wx/dialog.h"
19 #include "wx/dirdlg.h"
20
21 #include "wx/cmndata.h"
22
23 #if !USE_SHARED_LIBRARY
24 IMPLEMENT_CLASS(wxDirDialog, wxDialog)
25 #endif
26
27 wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
28 const wxString& defaultPath,
29 long style, const wxPoint& pos)
30 {
31 m_message = message;
32 m_dialogStyle = style;
33 m_parent = parent;
34 m_path = defaultPath;
35 }
36
37 int wxDirDialog::ShowModal()
38 {
39 // TODO
40 return wxID_CANCEL;
41 }
42