]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/os2/dirdlg.cpp
Applied patch2 of [ 703990 ] attrib support in wxGTK2 textctrl
[wxWidgets.git] / src / os2 / dirdlg.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: dirdlg.cpp
3// Purpose: wxDirDialog
4// Author: David Webster
5// Modified by:
6// Created: 10/14/99
7// RCS-ID: $Id$
8// Copyright: (c) David Webster
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13 #pragma implementation "dirdlg.h"
14#endif
15
16// For compilers that support precompilation, includes "wx.h".
17#include "wx/wxprec.h"
18
19#ifndef WX_PRECOMP
20#include <stdio.h>
21#include "wx/defs.h"
22#include "wx/utils.h"
23#include "wx/dialog.h"
24#include "wx/dirdlg.h"
25#endif
26
27#include "wx/os2/private.h"
28#include "wx/cmndata.h"
29
30#include <stdlib.h>
31#include <string.h>
32
33#define wxDIALOG_DEFAULT_X 300
34#define wxDIALOG_DEFAULT_Y 300
35
36IMPLEMENT_CLASS(wxDirDialog, wxDialog)
37
38wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
39 const wxString& defaultPath,
40 long style, const wxPoint& pos)
41{
42 m_message = message;
43 m_dialogStyle = style;
44 m_parent = parent;
45 m_path = defaultPath;
46}
47
48int wxDirDialog::ShowModal()
49{
50 // TODO
51 return wxID_CANCEL;
52}
53