]> git.saurik.com Git - wxWidgets.git/blob - src/motif/dirdlg.cpp
#ifdefs for wxMotif which doesn't have a wxTopLevelWindow implementation
[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 IMPLEMENT_CLASS(wxDirDialog, wxDialog)
24
25 wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
26 const wxString& defaultPath,
27 long style, const wxPoint& pos)
28 {
29 m_message = message;
30 m_dialogStyle = style;
31 m_parent = parent;
32 m_path = defaultPath;
33 }
34
35 int wxDirDialog::ShowModal()
36 {
37 // TODO
38 return wxID_CANCEL;
39 }
40