]>
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__)
31 #include "wx/msgdlg.h"
32 #include "wx/filedlg.h"
33 #include "wx/filefn.h"
40 #include "wx/palmos/private.h"
45 #include "wx/filename.h"
46 #include "wx/tokenzr.h"
49 #define OFN_EXPLORER 0x00080000
52 // ----------------------------------------------------------------------------
54 // ----------------------------------------------------------------------------
56 #define wxMAXPATH 1024
58 # define wxMAXFILE 1024
62 // ============================================================================
64 // ============================================================================
66 IMPLEMENT_CLASS(wxFileDialog
, wxFileDialogBase
)
68 // ----------------------------------------------------------------------------
70 // ----------------------------------------------------------------------------
72 wxFileDialog::wxFileDialog(wxWindow
*parent
,
73 const wxString
& message
,
74 const wxString
& defaultDir
,
75 const wxString
& defaultFileName
,
76 const wxString
& wildCard
,
81 :wxFileDialogBase(parent
, message
, defaultDir
, defaultFileName
, wildCard
, style
, pos
, sz
, name
)
86 void wxFileDialog::GetPaths(wxArrayString
& paths
) const
90 void wxFileDialog::GetFilenames(wxArrayString
& files
) const
94 void wxFileDialog::SetPath(const wxString
& path
)
98 int wxFileDialog::ShowModal()
103 #endif // wxUSE_FILEDLG