]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/filedlg.cpp
Italian translation corrections from Roberto Boriotti.
[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 #include "wx/filedlg.h"
30
31 #ifndef WX_PRECOMP
32 #include "wx/utils.h"
33 #include "wx/msgdlg.h"
34 #include "wx/filefn.h"
35 #include "wx/intl.h"
36 #include "wx/log.h"
37 #include "wx/app.h"
38 #include "wx/math.h"
39 #endif
40
41 #include <stdlib.h>
42 #include <string.h>
43
44 #include "wx/filename.h"
45 #include "wx/tokenzr.h"
46
47 #ifndef OFN_EXPLORER
48 #define OFN_EXPLORER 0x00080000
49 #endif
50
51 // ----------------------------------------------------------------------------
52 // constants
53 // ----------------------------------------------------------------------------
54
55 #define wxMAXPATH 1024
56
57 # define wxMAXFILE 1024
58
59 # define wxMAXEXT 5
60
61 // ============================================================================
62 // implementation
63 // ============================================================================
64
65 IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase)
66
67 // ----------------------------------------------------------------------------
68 // wxFileDialog
69 // ----------------------------------------------------------------------------
70
71 wxFileDialog::wxFileDialog(wxWindow *parent,
72 const wxString& message,
73 const wxString& defaultDir,
74 const wxString& defaultFileName,
75 const wxString& wildCard,
76 long style,
77 const wxPoint& pos,
78 const wxSize& sz,
79 const wxString& name)
80 :wxFileDialogBase(parent, message, defaultDir, defaultFileName, wildCard, style, pos, sz, name)
81
82 {
83 }
84
85 void wxFileDialog::GetPaths(wxArrayString& paths) const
86 {
87 }
88
89 void wxFileDialog::GetFilenames(wxArrayString& files) const
90 {
91 }
92
93 void wxFileDialog::SetPath(const wxString& path)
94 {
95 }
96
97 int wxFileDialog::ShowModal()
98 {
99 return wxID_CANCEL;
100 }
101
102 #endif // wxUSE_FILEDLG