]>
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"
44 #include "wx/filename.h"
45 #include "wx/tokenzr.h"
48 #define OFN_EXPLORER 0x00080000
51 // ----------------------------------------------------------------------------
53 // ----------------------------------------------------------------------------
55 #define wxMAXPATH 1024
57 # define wxMAXFILE 1024
61 // ============================================================================
63 // ============================================================================
65 IMPLEMENT_CLASS(wxFileDialog
, wxFileDialogBase
)
67 // ----------------------------------------------------------------------------
69 // ----------------------------------------------------------------------------
71 wxFileDialog::wxFileDialog(wxWindow
*parent
,
72 const wxString
& message
,
73 const wxString
& defaultDir
,
74 const wxString
& defaultFileName
,
75 const wxString
& wildCard
,
80 :wxFileDialogBase(parent
, message
, defaultDir
, defaultFileName
, wildCard
, style
, pos
, sz
, name
)
85 void wxFileDialog::GetPaths(wxArrayString
& paths
) const
89 void wxFileDialog::GetFilenames(wxArrayString
& files
) const
93 void wxFileDialog::SetPath(const wxString
& path
)
97 int wxFileDialog::ShowModal()
102 #endif // wxUSE_FILEDLG