]> git.saurik.com Git - wxWidgets.git/blame - src/os2/dirdlg.cpp
fixed incorrect GetTextExtent for wxTELETYPE font
[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 <math.h>
31#include <stdlib.h>
32#include <string.h>
33
34#define wxDIALOG_DEFAULT_X 300
35#define wxDIALOG_DEFAULT_Y 300
36
0e320a79 37IMPLEMENT_CLASS(wxDirDialog, wxDialog)
0e320a79
DW
38
39wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
40 const wxString& defaultPath,
41 long style, const wxPoint& pos)
42{
43 m_message = message;
44 m_dialogStyle = style;
45 m_parent = parent;
fb46a9a6 46 m_path = defaultPath;
0e320a79
DW
47}
48
49int wxDirDialog::ShowModal()
50{
51 // TODO
fb46a9a6 52 return wxID_CANCEL;
0e320a79
DW
53}
54