]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/filedlg.h
CanAcceptFocus() now returns true if either the window itself or one of its children...
[wxWidgets.git] / include / wx / motif / filedlg.h
CommitLineData
9b6dbb09 1/////////////////////////////////////////////////////////////////////////////
925f7740 2// Name: wx/motif/filedlg.h
9b6dbb09
JS
3// Purpose: wxFileDialog class
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
925f7740 9// Licence: wxWindows licence
9b6dbb09
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_FILEDLG_H_
13#define _WX_FILEDLG_H_
14
f74172ab
VZ
15//-------------------------------------------------------------------------
16// wxFileDialog
17//-------------------------------------------------------------------------
9b6dbb09 18
f74172ab 19class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
9b6dbb09 20{
83df96d6 21 DECLARE_DYNAMIC_CLASS(wxFileDialog)
dfad0599 22public:
925f7740 23
dfad0599 24 // For Motif
dfad0599
JS
25 static wxString m_fileSelectorAnswer;
26 static bool m_fileSelectorReturned;
925f7740 27
9b6dbb09 28public:
f74172ab
VZ
29 wxFileDialog(wxWindow *parent,
30 const wxString& message = wxFileSelectorPromptStr,
31 const wxString& defaultDir = wxEmptyString,
32 const wxString& defaultFile = wxEmptyString,
33 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
ff3e84ff
VZ
34 long style = wxFD_DEFAULT_STYLE,
35 const wxPoint& pos = wxDefaultPosition,
36 const wxSize& sz = wxDefaultSize,
37 const wxString& name = wxFileDialogNameStr);
925f7740 38
f74172ab 39 virtual int ShowModal();
9b6dbb09
JS
40};
41
b600ed13 42#endif // _WX_FILEDLG_H_