]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/filedlg.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[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
ffecfa5a
JS
20// For compilers that support precompilation, includes "wx.h".
21#include "wx/wxprec.h"
22
23#ifdef __BORLANDC__
24 #pragma hdrstop
25#endif
26
27#if wxUSE_FILEDLG && !defined(__SMARTPHONE__)
28
949c9f74
WS
29#include "wx/filedlg.h"
30
ffecfa5a
JS
31#ifndef WX_PRECOMP
32 #include "wx/utils.h"
33 #include "wx/msgdlg.h"
ffecfa5a
JS
34 #include "wx/filefn.h"
35 #include "wx/intl.h"
36 #include "wx/log.h"
37 #include "wx/app.h"
463c4d71 38 #include "wx/math.h"
ffecfa5a
JS
39#endif
40
41#include "wx/palmos/private.h"
42
ffecfa5a
JS
43#include <stdlib.h>
44#include <string.h>
45
46#include "wx/filename.h"
47#include "wx/tokenzr.h"
48
49#ifndef OFN_EXPLORER
50 #define OFN_EXPLORER 0x00080000
51#endif
52
53// ----------------------------------------------------------------------------
54// constants
55// ----------------------------------------------------------------------------
56
57#define wxMAXPATH 1024
58
59# define wxMAXFILE 1024
60
61# define wxMAXEXT 5
62
63// ============================================================================
64// implementation
65// ============================================================================
66
67IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase)
68
69// ----------------------------------------------------------------------------
70// wxFileDialog
71// ----------------------------------------------------------------------------
72
73wxFileDialog::wxFileDialog(wxWindow *parent,
74 const wxString& message,
75 const wxString& defaultDir,
76 const wxString& defaultFileName,
77 const wxString& wildCard,
78 long style,
ff3e84ff
VZ
79 const wxPoint& pos,
80 const wxSize& sz,
81 const wxString& name)
82 :wxFileDialogBase(parent, message, defaultDir, defaultFileName, wildCard, style, pos, sz, name)
ffecfa5a
JS
83
84{
85}
86
87void wxFileDialog::GetPaths(wxArrayString& paths) const
88{
89}
90
91void wxFileDialog::GetFilenames(wxArrayString& files) const
92{
93}
94
95void wxFileDialog::SetPath(const wxString& path)
96{
97}
98
99int wxFileDialog::ShowModal()
100{
101 return wxID_CANCEL;
102}
103
104#endif // wxUSE_FILEDLG