X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..916989dfb95b7e4a72234d946b8e078235046e05:/include/wx/mac/carbon/filedlg.h diff --git a/include/wx/mac/carbon/filedlg.h b/include/wx/mac/carbon/filedlg.h index 4cc0387a08..cd2d7c9111 100644 --- a/include/wx/mac/carbon/filedlg.h +++ b/include/wx/mac/carbon/filedlg.h @@ -12,15 +12,11 @@ #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) protected: @@ -33,14 +29,17 @@ public: 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 void GetPaths(wxArrayString& paths) const { paths = m_paths; } virtual void GetFilenames(wxArrayString& files) const { files = m_fileNames ; } virtual int ShowModal(); - + +protected: // not supported for file dialog, RR virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y), int WXUNUSED(width), int WXUNUSED(height),