Added wxBackingFile and wxBackedInputStream.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2006-10-23 15:45:51 +00:00
parent 5677ce32f2
commit 7d45ec4aa1
3 changed files with 22 additions and 0 deletions

View File

@@ -166,6 +166,7 @@ extern LONG APIENTRY _EXPORT
// Intel, Visual Age.
#if defined(__WXWINCE__)
#define wxGetOSFHandle(fd) ((HANDLE)fd)
#define wxOpenOSFHandle(h, flags) ((int)wxPtrToUInt(h))
#elif defined(__CYGWIN__)
#define wxGetOSFHandle(fd) ((HANDLE)get_osfhandle(fd))
#elif defined(__VISUALC__) \
@@ -175,6 +176,8 @@ extern LONG APIENTRY _EXPORT
|| defined(__MINGW32__) \
|| (defined(__MWERKS__) && defined(__MSL__))
#define wxGetOSFHandle(fd) ((HANDLE)_get_osfhandle(fd))
#define wxOpenOSFHandle(h, flags) (_open_osfhandle(wxPtrToUInt(h), flags))
#define wx_fdopen _fdopen
#endif
// close the handle in the class dtor