X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0a56ab0c38aac05101593488c7e0972c36c38b7..91b4bd63177025704dd39679a2a7c4198eeb7909:/src/os2/filedlg.cpp?ds=sidebyside diff --git a/src/os2/filedlg.cpp b/src/os2/filedlg.cpp index 20e3c39cde..aee711ce99 100644 --- a/src/os2/filedlg.cpp +++ b/src/os2/filedlg.cpp @@ -9,16 +9,35 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#include "wx/defs.h" -#include "wx/utils.h" -#include "wx/dialog.h" -#include "wx/filedlg.h" -#include "wx/intl.h" +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" -#if !USE_SHARED_LIBRARY -IMPLEMENT_CLASS(wxFileDialog, wxDialog) +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + +#ifndef WX_PRECOMP + #include + #include "wx/defs.h" + #include "wx/utils.h" + #include "wx/msgdlg.h" + #include "wx/dialog.h" + #include "wx/filedlg.h" + #include "wx/intl.h" + #include "wx/log.h" #endif +#define INCL_PM +#include + +#include "wx/os2/private.h" + +#include +#include +#include + +IMPLEMENT_CLASS(wxFileDialog, wxDialog) + wxString wxFileSelector( const char* title ,const char* defaultDir ,const char* defaultFileName @@ -61,6 +80,22 @@ wxString wxFileSelector( const char* title return wxEmptyString; } +# ifndef MAXPATH +# define MAXPATH 400 +# endif + +# ifndef MAXDRIVE +# define MAXDRIVE 3 +# endif + +# ifndef MAXFILE +# define MAXFILE 9 +# endif + +# ifndef MAXEXT +# define MAXEXT 5 +# endif + wxString wxFileSelectorEx( const char* title ,const char* defaultDir ,const char* defaultFileName