]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/filedlg.h
Remove undefined wxScrollBarBase::Create() declaration.
[wxWidgets.git] / include / wx / osx / filedlg.h
CommitLineData
6762286d
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//-------------------------------------------------------------------------
16// wxFileDialog
17//-------------------------------------------------------------------------
18
19class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase
20{
21DECLARE_DYNAMIC_CLASS(wxFileDialog)
22protected:
23 wxArrayString m_fileNames;
24 wxArrayString m_paths;
25
26public:
27 wxFileDialog(wxWindow *parent,
28 const wxString& message = wxFileSelectorPromptStr,
29 const wxString& defaultDir = wxEmptyString,
30 const wxString& defaultFile = wxEmptyString,
31 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
32 long style = wxFD_DEFAULT_STYLE,
33 const wxPoint& pos = wxDefaultPosition,
34 const wxSize& sz = wxDefaultSize,
35 const wxString& name = wxFileDialogNameStr);
36
37 virtual void GetPaths(wxArrayString& paths) const { paths = m_paths; }
38 virtual void GetFilenames(wxArrayString& files) const { files = m_fileNames ; }
39
40 virtual int ShowModal();
ce00f59b 41
bfa92264
KO
42#if wxOSX_USE_COCOA
43 virtual void ShowWindowModal();
44 virtual void ModalFinishedCallback(void* panel, int resultCode);
45#endif
6762286d 46
61ad44c7 47 virtual bool SupportsExtraControl() const;
ce00f59b 48
6762286d
SC
49protected:
50 // not supported for file dialog, RR
51 virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y),
52 int WXUNUSED(width), int WXUNUSED(height),
53 int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {}
ce00f59b 54
2f30930a 55 void SetupExtraControls(WXWindow nativeWindow);
6762286d
SC
56};
57
58#endif // _WX_FILEDLG_H_