filedlg.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/os2/filedlg.h
  3. // Purpose: wxFileDialog class
  4. // Author: David Webster
  5. // Modified by:
  6. // Created: 10/05/99
  7. // Copyright: (c) David Webster
  8. // Licence: wxWindows licence
  9. /////////////////////////////////////////////////////////////////////////////
  10. #ifndef _WX_FILEDLG_H_
  11. #define _WX_FILEDLG_H_
  12. //-------------------------------------------------------------------------
  13. // wxFileDialog
  14. //-------------------------------------------------------------------------
  15. class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase
  16. {
  17. DECLARE_DYNAMIC_CLASS(wxFileDialog)
  18. public:
  19. wxFileDialog( wxWindow* pParent
  20. ,const wxString& rsMessage = wxFileSelectorPromptStr
  21. ,const wxString& rsDefaultDir = wxEmptyString
  22. ,const wxString& rsDefaultFile = wxEmptyString
  23. ,const wxString& rsWildCard = wxFileSelectorDefaultWildcardStr
  24. ,long lStyle = wxFD_DEFAULT_STYLE
  25. ,const wxPoint& rPos = wxDefaultPosition,
  26. const wxSize& sz = wxDefaultSize,
  27. const wxString& name = wxFileDialogNameStr
  28. );
  29. virtual void GetPaths(wxArrayString& rasPath) const;
  30. int ShowModal();
  31. protected:
  32. wxArrayString m_fileNames;
  33. }; // end of CLASS wxFileDialog
  34. #endif // _WX_FILEDLG_H_