]>
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
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // ============================================================================
14 // ============================================================================
16 // ----------------------------------------------------------------------------
18 // ----------------------------------------------------------------------------
20 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
21 #pragma implementation "filedlg.h"
24 // For compilers that support precompilation, includes "wx.h".
25 #include "wx/wxprec.h"
31 #if wxUSE_FILEDLG && !defined(__SMARTPHONE__)
35 #include "wx/msgdlg.h"
36 #include "wx/filedlg.h"
37 #include "wx/filefn.h"
43 #include "wx/palmos/private.h"
49 #include "wx/filename.h"
50 #include "wx/tokenzr.h"
53 #define OFN_EXPLORER 0x00080000
56 // ----------------------------------------------------------------------------
58 // ----------------------------------------------------------------------------
60 #define wxMAXPATH 1024
62 # define wxMAXFILE 1024
66 // ============================================================================
68 // ============================================================================
70 IMPLEMENT_CLASS(wxFileDialog
, wxFileDialogBase
)
72 // ----------------------------------------------------------------------------
74 // ----------------------------------------------------------------------------
76 wxFileDialog::wxFileDialog(wxWindow
*parent
,
77 const wxString
& message
,
78 const wxString
& defaultDir
,
79 const wxString
& defaultFileName
,
80 const wxString
& wildCard
,
83 :wxFileDialogBase(parent
, message
, defaultDir
, defaultFileName
, wildCard
, style
, pos
)
88 void wxFileDialog::GetPaths(wxArrayString
& paths
) const
92 void wxFileDialog::GetFilenames(wxArrayString
& files
) const
96 void wxFileDialog::SetPath(const wxString
& path
)
100 int wxFileDialog::ShowModal()
105 #endif // wxUSE_FILEDLG