no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -9,11 +9,32 @@
|
||||
// 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"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include <stdio.h>
|
||||
#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 <os2.h>
|
||||
|
||||
#include "wx/os2/private.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if !USE_SHARED_LIBRARY
|
||||
IMPLEMENT_CLASS(wxFileDialog, wxDialog)
|
||||
@@ -61,6 +82,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
|
||||
|
Reference in New Issue
Block a user