Changes related to stream includes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-10-12 07:46:15 +00:00
parent 66de8e7a1b
commit fbc535ff08
29 changed files with 165 additions and 46 deletions

View File

@@ -34,7 +34,15 @@
#include <windows.h>
#include <stdlib.h>
#include "fstream.h"
#if wxUSE_IOSTREAMH
#include <fstream.h>
#else
#include <fstream>
# ifdef _MSC_VER
using namespace std;
# endif
#endif
#include <sys/types.h>
#include <sys/stat.h>
@@ -508,7 +516,8 @@ bool wxTextCtrl::LoadFile(const wxString& file)
Clear();
ifstream input(WXSTRINGCAST file, ios::nocreate | ios::in);
// ifstream input(WXSTRINGCAST file, ios::nocreate | ios::in);
ifstream input(WXSTRINGCAST file, ios::in);
if (!input.bad())
{