Fix Cygwin 1.7 build.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Jul 2010 23:32:46 +0000 (23:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Jul 2010 23:32:46 +0000 (23:32 +0000)
commit715e4f7e3e26595209b5fe8a9ad3e60cce317e5f
treeff906d8d1df2a24635b8e1e220fbcf93907d6945
parent3d4e20dd0baa3399b72b66a12ddcb0f898c43989
Fix Cygwin 1.7 build.

Avoid using Cygwin sockets as our code assumes that we use WinSock API under
Windows currently (this might change in the future) by defining
__USE_W32_SOCKETS.

Use new, safer and more efficient cygwin_conv_path() function.

Use t_str() instead of fn_str() with Windows API taking file names, under
Cygwin they are different and using fn_str() is incorrect.

A few other minor fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
15 files changed:
docs/changes.txt
include/wx/app.h
include/wx/defs.h
include/wx/evtloop.h
include/wx/filefn.h
src/common/filefn.cpp
src/common/filename.cpp
src/common/sckaddr.cpp
src/common/strvararg.cpp
src/msw/cursor.cpp
src/msw/dib.cpp
src/msw/dir.cpp
src/msw/enhmeta.cpp
src/msw/textentry.cpp
src/msw/utils.cpp