X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/motif/filedlg.h?ds=sidebyside diff --git a/include/wx/motif/filedlg.h b/include/wx/motif/filedlg.h index df9bc061f0..55c216e729 100644 --- a/include/wx/motif/filedlg.h +++ b/include/wx/motif/filedlg.h @@ -1,43 +1,41 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: filedlg.h +// Name: wx/motif/filedlg.h // Purpose: wxFileDialog class // Author: Julian Smart // Modified by: // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_FILEDLG_H_ #define _WX_FILEDLG_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "filedlg.h" -#endif - //------------------------------------------------------------------------- // wxFileDialog //------------------------------------------------------------------------- -class WXDLLEXPORT wxFileDialog: public wxFileDialogBase +class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase { DECLARE_DYNAMIC_CLASS(wxFileDialog) public: - + // For Motif static wxString m_fileSelectorAnswer; static bool m_fileSelectorReturned; - + public: wxFileDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr, const wxString& defaultDir = wxEmptyString, const wxString& defaultFile = wxEmptyString, const wxString& wildCard = wxFileSelectorDefaultWildcardStr, - long style = 0, - const wxPoint& pos = wxDefaultPosition); - + long style = wxFD_DEFAULT_STYLE, + const wxPoint& pos = wxDefaultPosition, + const wxSize& sz = wxDefaultSize, + const wxString& name = wxFileDialogNameStr); + virtual int ShowModal(); };