]> git.saurik.com Git - wxWidgets.git/blame - src/motif/dirdlg.cpp
minor changes (a couple of error messages added to wxExecute)
[wxWidgets.git] / src / motif / dirdlg.cpp
CommitLineData
4bb6408c
JS
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
24IMPLEMENT_CLASS(wxDirDialog, wxDialog)
25#endif
26
27wxDirDialog::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
37int wxDirDialog::ShowModal()
38{
39 // TODO
40 return wxID_CANCEL;
41}
42