]>
git.saurik.com Git - wxWidgets.git/blob - src/palmos/filedlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/filedlg.cpp
3 // Purpose: wxFileDialog
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // ============================================================================
14 // ============================================================================
16 // ----------------------------------------------------------------------------
18 // ----------------------------------------------------------------------------
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
27 #if wxUSE_FILEDLG && !defined(__SMARTPHONE__)
29 #include "wx/filedlg.h"
33 #include "wx/msgdlg.h"
34 #include "wx/filefn.h"
41 #include "wx/palmos/private.h"
46 #include "wx/filename.h"
47 #include "wx/tokenzr.h"
50 #define OFN_EXPLORER 0x00080000
53 // ----------------------------------------------------------------------------
55 // ----------------------------------------------------------------------------
57 #define wxMAXPATH 1024
59 # define wxMAXFILE 1024
63 // ============================================================================
65 // ============================================================================
67 IMPLEMENT_CLASS(wxFileDialog
, wxFileDialogBase
)
69 // ----------------------------------------------------------------------------
71 // ----------------------------------------------------------------------------
73 wxFileDialog::wxFileDialog(wxWindow
*parent
,
74 const wxString
& message
,
75 const wxString
& defaultDir
,
76 const wxString
& defaultFileName
,
77 const wxString
& wildCard
,
82 :wxFileDialogBase(parent
, message
, defaultDir
, defaultFileName
, wildCard
, style
, pos
, sz
, name
)
87 void wxFileDialog::GetPaths(wxArrayString
& paths
) const
91 void wxFileDialog::GetFilenames(wxArrayString
& files
) const
95 void wxFileDialog::SetPath(const wxString
& path
)
99 int wxFileDialog::ShowModal()
104 #endif // wxUSE_FILEDLG