]> git.saurik.com Git - wxWidgets.git/blame - src/os2/dirdlg.cpp
Fix for the fact that unmapped but managed widgets
[wxWidgets.git] / src / os2 / dirdlg.cpp
CommitLineData
0e320a79
DW
1/////////////////////////////////////////////////////////////////////////////
2// Name: dirdlg.cpp
3// Purpose: wxDirDialog
fb46a9a6 4// Author: David Webster
0e320a79 5// Modified by:
fb46a9a6 6// Created: 10/14/99
0e320a79 7// RCS-ID: $Id$
fb46a9a6
DW
8// Copyright: (c) David Webster
9// Licence: wxWindows licence
0e320a79
DW
10/////////////////////////////////////////////////////////////////////////////
11
aa213887
SN
12#ifdef __GNUG__
13 #pragma implementation "dirdlg.h"
14#endif
15
fb46a9a6
DW
16// For compilers that support precompilation, includes "wx.h".
17#include "wx/wxprec.h"
0e320a79 18
fb46a9a6
DW
19#ifndef WX_PRECOMP
20#include <stdio.h>
0e320a79
DW
21#include "wx/defs.h"
22#include "wx/utils.h"
23#include "wx/dialog.h"
24#include "wx/dirdlg.h"
fb46a9a6 25#endif
0e320a79 26
fb46a9a6 27#include "wx/os2/private.h"
0e320a79
DW
28#include "wx/cmndata.h"
29
fb46a9a6
DW
30#include <stdlib.h>
31#include <string.h>
32
33#define wxDIALOG_DEFAULT_X 300
34#define wxDIALOG_DEFAULT_Y 300
35
0e320a79 36IMPLEMENT_CLASS(wxDirDialog, wxDialog)
0e320a79
DW
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;
fb46a9a6 45 m_path = defaultPath;
0e320a79
DW
46}
47
48int wxDirDialog::ShowModal()
49{
50 // TODO
fb46a9a6 51 return wxID_CANCEL;
0e320a79
DW
52}
53