]> git.saurik.com Git - wxWidgets.git/blame - src/os2/dirdlg.cpp
Create new tab at the correct location in wxAuiNotebook.
[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
0e320a79 7// RCS-ID: $Id$
fb46a9a6 8// Copyright: (c) David Webster
65571936 9// Licence: wxWindows licence
0e320a79
DW
10/////////////////////////////////////////////////////////////////////////////
11
fb46a9a6
DW
12// For compilers that support precompilation, includes "wx.h".
13#include "wx/wxprec.h"
0e320a79 14
ce5d92e1 15#include "wx/dirdlg.h"
643e9cf9 16#include "wx/testing.h"
ce5d92e1 17
fb46a9a6 18#ifndef WX_PRECOMP
7520f3da
WS
19 #include <stdio.h>
20 #include "wx/utils.h"
21 #include "wx/dialog.h"
fb46a9a6 22#endif
0e320a79 23
fb46a9a6 24#include "wx/os2/private.h"
0e320a79 25
fb46a9a6
DW
26#include <stdlib.h>
27#include <string.h>
28
29#define wxDIALOG_DEFAULT_X 300
30#define wxDIALOG_DEFAULT_Y 300
31
0e320a79 32IMPLEMENT_CLASS(wxDirDialog, wxDialog)
0e320a79
DW
33
34wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
35 const wxString& defaultPath,
36 long style, const wxPoint& pos)
37{
38 m_message = message;
ff3e84ff 39 m_windowStyle = style;
0e320a79 40 m_parent = parent;
fb46a9a6 41 m_path = defaultPath;
0e320a79
DW
42}
43
44int wxDirDialog::ShowModal()
45{
643e9cf9
VS
46 WX_TESTING_SHOW_MODAL_HOOK();
47
0e320a79 48 // TODO
fb46a9a6 49 return wxID_CANCEL;
0e320a79 50}