Added GSocket for Unix (only GTK for the moment)

Updated wxSocket to use GSocket API
Added a progress bar to client.cpp
Added CopyTo to wxMemoryOutputStream to copy the internal buffer to a specified buffer.
Various changes/fixes to the high-level protocols FTP/HTTP
Various Unicode fixes
Removed sckint.*


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1999-07-22 17:51:54 +00:00
parent e4d18e7f60
commit a324a7bccf
30 changed files with 2082 additions and 1905 deletions

View File

@@ -56,7 +56,21 @@ bool wxFFile::Open(const wxChar *filename, const char *mode)
{
wxASSERT_MSG( !m_fp, _T("should close or detach the old file first") );
#if wxUSE_UNICODE
char *tmp_fname;
size_t fname_len;
fname_len = wxStrlen(filename)+1;
tmp_fname = new char[fname_len];
wxWX2MB(tmp_fname, filename, fname_len);
m_fp = fopen(tmp_fname, mode);
delete tmp_fname;
#else
m_fp = fopen(filename, mode);
#endif
if ( !m_fp )
{