]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/filedlg.cpp
don't declare strptime() ourselves if the system already does it, we might have a...
[wxWidgets.git] / src / palmos / filedlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/filedlg.cpp
3 // Purpose: wxFileDialog
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 #if wxUSE_FILEDLG && !defined(__SMARTPHONE__)
28
29 #ifndef WX_PRECOMP
30 #include "wx/utils.h"
31 #include "wx/msgdlg.h"
32 #include "wx/filedlg.h"
33 #include "wx/filefn.h"
34 #include "wx/intl.h"
35 #include "wx/log.h"
36 #include "wx/app.h"
37 #include "wx/math.h"
38 #endif
39
40 #include "wx/palmos/private.h"
41
42 #include <stdlib.h>
43 #include <string.h>
44
45 #include "wx/filename.h"
46 #include "wx/tokenzr.h"
47
48 #ifndef OFN_EXPLORER
49 #define OFN_EXPLORER 0x00080000
50 #endif
51
52 // ----------------------------------------------------------------------------
53 // constants
54 // ----------------------------------------------------------------------------
55
56 #define wxMAXPATH 1024
57
58 # define wxMAXFILE 1024
59
60 # define wxMAXEXT 5
61
62 // ============================================================================
63 // implementation
64 // ============================================================================
65
66 IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase)
67
68 // ----------------------------------------------------------------------------
69 // wxFileDialog
70 // ----------------------------------------------------------------------------
71
72 wxFileDialog::wxFileDialog(wxWindow *parent,
73 const wxString& message,
74 const wxString& defaultDir,
75 const wxString& defaultFileName,
76 const wxString& wildCard,
77 long style,
78 const wxPoint& pos)
79 :wxFileDialogBase(parent, message, defaultDir, defaultFileName, wildCard, style, pos)
80
81 {
82 }
83
84 void wxFileDialog::GetPaths(wxArrayString& paths) const
85 {
86 }
87
88 void wxFileDialog::GetFilenames(wxArrayString& files) const
89 {
90 }
91
92 void wxFileDialog::SetPath(const wxString& path)
93 {
94 }
95
96 int wxFileDialog::ShowModal()
97 {
98 return wxID_CANCEL;
99 }
100
101 #endif // wxUSE_FILEDLG
102