]> git.saurik.com Git - wxWidgets.git/blame - src/os2/dirdlg.cpp
wxGTK1 : wx/private/eventloopsourcesmanager.h was missing in evtloop.cpp
[wxWidgets.git] / src / os2 / dirdlg.cpp
CommitLineData
0e320a79 1/////////////////////////////////////////////////////////////////////////////
7520f3da 2// Name: src/os2/dirdlg.cpp
0e320a79 3// Purpose: wxDirDialog
fb46a9a6 4// Author: David Webster
0e320a79 5// Modified by:
fb46a9a6 6// Created: 10/14/99
fb46a9a6 7// Copyright: (c) David Webster
65571936 8// Licence: wxWindows licence
0e320a79
DW
9/////////////////////////////////////////////////////////////////////////////
10
fb46a9a6
DW
11// For compilers that support precompilation, includes "wx.h".
12#include "wx/wxprec.h"
0e320a79 13
ce5d92e1 14#include "wx/dirdlg.h"
691745ab 15#include "wx/modalhook.h"
ce5d92e1 16
fb46a9a6 17#ifndef WX_PRECOMP
7520f3da
WS
18 #include <stdio.h>
19 #include "wx/utils.h"
20 #include "wx/dialog.h"
fb46a9a6 21#endif
0e320a79 22
fb46a9a6 23#include "wx/os2/private.h"
0e320a79 24
fb46a9a6
DW
25#include <stdlib.h>
26#include <string.h>
27
28#define wxDIALOG_DEFAULT_X 300
29#define wxDIALOG_DEFAULT_Y 300
30
0e320a79 31IMPLEMENT_CLASS(wxDirDialog, wxDialog)
0e320a79
DW
32
33wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
34 const wxString& defaultPath,
35 long style, const wxPoint& pos)
36{
37 m_message = message;
ff3e84ff 38 m_windowStyle = style;
0e320a79 39 m_parent = parent;
fb46a9a6 40 m_path = defaultPath;
0e320a79
DW
41}
42
43int wxDirDialog::ShowModal()
44{
691745ab 45 WX_HOOK_MODAL_DIALOG();
643e9cf9 46
0e320a79 47 // TODO
fb46a9a6 48 return wxID_CANCEL;
0e320a79 49}