]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/carbon/filedlg.h
SmartPhone windows are always maximized: Patch 942118
[wxWidgets.git] / include / wx / mac / carbon / filedlg.h
CommitLineData
8cf73271
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: filedlg.h
3// Purpose: wxFileDialog class
4// Author: Stefan Csomor
5// Modified by:
6// Created: 1998-01-01
7// RCS-ID: $Id$
8// Copyright: (c) Stefan Csomor
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_FILEDLG_H_
13#define _WX_FILEDLG_H_
14
15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16#pragma interface "filedlg.h"
17#endif
18
19//-------------------------------------------------------------------------
20// wxFileDialog
21//-------------------------------------------------------------------------
22
23class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
24{
25DECLARE_DYNAMIC_CLASS(wxFileDialog)
26protected:
27 wxArrayString m_fileNames;
28 wxArrayString m_paths;
29
30public:
31 wxFileDialog(wxWindow *parent,
32 const wxString& message = wxFileSelectorPromptStr,
33 const wxString& defaultDir = wxEmptyString,
34 const wxString& defaultFile = wxEmptyString,
35 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
36 long style = 0,
37 const wxPoint& pos = wxDefaultPosition);
38
39 virtual void GetPaths(wxArrayString& paths) const { paths = m_paths; }
40 virtual void GetFilenames(wxArrayString& files) const { files = m_fileNames ; }
41
42 virtual int ShowModal();
43
44 // not supported for file dialog, RR
45 virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y),
46 int WXUNUSED(width), int WXUNUSED(height),
47 int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {}
48};
49
50#endif // _WX_FILEDLG_H_