]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/filedlg.cpp
Unicode build fix
[wxWidgets.git] / src / palmos / filedlg.cpp
CommitLineData
ffecfa5a
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/palmos/filedlg.cpp
3// Purpose: wxFileDialog
e2731512 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10/13/04
e2731512 7// RCS-ID: $Id$
ffecfa5a
JS
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12// ============================================================================
13// declarations
14// ============================================================================
15
16// ----------------------------------------------------------------------------
17// headers
18// ----------------------------------------------------------------------------
19
20#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
21 #pragma implementation "filedlg.h"
22#endif
23
24// For compilers that support precompilation, includes "wx.h".
25#include "wx/wxprec.h"
26
27#ifdef __BORLANDC__
28 #pragma hdrstop
29#endif
30
31#if wxUSE_FILEDLG && !defined(__SMARTPHONE__)
32
33#ifndef WX_PRECOMP
34 #include "wx/utils.h"
35 #include "wx/msgdlg.h"
36 #include "wx/filedlg.h"
37 #include "wx/filefn.h"
38 #include "wx/intl.h"
39 #include "wx/log.h"
40 #include "wx/app.h"
463c4d71 41 #include "wx/math.h"
ffecfa5a
JS
42#endif
43
44#include "wx/palmos/private.h"
45
ffecfa5a
JS
46#include <stdlib.h>
47#include <string.h>
48
49#include "wx/filename.h"
50#include "wx/tokenzr.h"
51
52#ifndef OFN_EXPLORER
53 #define OFN_EXPLORER 0x00080000
54#endif
55
56// ----------------------------------------------------------------------------
57// constants
58// ----------------------------------------------------------------------------
59
60#define wxMAXPATH 1024
61
62# define wxMAXFILE 1024
63
64# define wxMAXEXT 5
65
66// ============================================================================
67// implementation
68// ============================================================================
69
70IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase)
71
72// ----------------------------------------------------------------------------
73// wxFileDialog
74// ----------------------------------------------------------------------------
75
76wxFileDialog::wxFileDialog(wxWindow *parent,
77 const wxString& message,
78 const wxString& defaultDir,
79 const wxString& defaultFileName,
80 const wxString& wildCard,
81 long style,
82 const wxPoint& pos)
83 :wxFileDialogBase(parent, message, defaultDir, defaultFileName, wildCard, style, pos)
84
85{
86}
87
88void wxFileDialog::GetPaths(wxArrayString& paths) const
89{
90}
91
92void wxFileDialog::GetFilenames(wxArrayString& files) const
93{
94}
95
96void wxFileDialog::SetPath(const wxString& path)
97{
98}
99
100int wxFileDialog::ShowModal()
101{
102 return wxID_CANCEL;
103}
104
105#endif // wxUSE_FILEDLG
106