]>
Commit | Line | Data |
---|---|---|
ffecfa5a JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: src/palmos/filedlg.cpp | |
3 | // Purpose: wxFileDialog | |
e2731512 | 4 | // Author: William Osborne - minimal working wxPalmOS port |
ffecfa5a JS |
5 | // Modified by: |
6 | // Created: 10/13/04 | |
e2731512 | 7 | // RCS-ID: $Id$ |
ffecfa5a JS |
8 | // Copyright: (c) William Osborne |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | // ============================================================================ | |
13 | // declarations | |
14 | // ============================================================================ | |
15 | ||
16 | // ---------------------------------------------------------------------------- | |
17 | // headers | |
18 | // ---------------------------------------------------------------------------- | |
19 | ||
ffecfa5a JS |
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" | |
463c4d71 | 37 | #include "wx/math.h" |
ffecfa5a JS |
38 | #endif |
39 | ||
40 | #include "wx/palmos/private.h" | |
41 | ||
ffecfa5a JS |
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, | |
ff3e84ff VZ |
78 | const wxPoint& pos, |
79 | const wxSize& sz, | |
80 | const wxString& name) | |
81 | :wxFileDialogBase(parent, message, defaultDir, defaultFileName, wildCard, style, pos, sz, name) | |
ffecfa5a JS |
82 | |
83 | { | |
84 | } | |
85 | ||
86 | void wxFileDialog::GetPaths(wxArrayString& paths) const | |
87 | { | |
88 | } | |
89 | ||
90 | void wxFileDialog::GetFilenames(wxArrayString& files) const | |
91 | { | |
92 | } | |
93 | ||
94 | void wxFileDialog::SetPath(const wxString& path) | |
95 | { | |
96 | } | |
97 | ||
98 | int wxFileDialog::ShowModal() | |
99 | { | |
100 | return wxID_CANCEL; | |
101 | } | |
102 | ||
103 | #endif // wxUSE_FILEDLG | |
104 |