Commit Graph

163 Commits

Author SHA1 Message Date
Robert Roebling
54b25889d2 Replaced lots of ANSI/ASCII strings with their
Unicode equivalents, i.e. I put wxT() arounf
    them in lots of places.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 21:48:06 +00:00
Vadim Zeitlin
37a911e683 another compilation fix: Unix2DosFilename -> wxUnix2DosFilename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 09:50:36 +00:00
Robert Roebling
56089cb7e4 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 08:02:41 +00:00
Robert Roebling
4a32c38f67 Enable wxMatchWild() for Unicode (under GTK) /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 16:57:17 +00:00
Vadim Zeitlin
4ea2c29f51 make wxFile::Exists() use wxFileExists(): this avoids code duplication and should make wxFile::Exists() work with UNC paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 19:32:29 +00:00
Julian Smart
3bce6687f4 Mods for Wine compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 20:34:27 +00:00
Stefan Csomor
bfc2bf628f fix for getting proper fspecs for volumes that are not given with the trailing separator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 08:46:52 +00:00
Robert Roebling
4bc6e5c51a iconv() doesn't set the trailing zero
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 18:20:53 +00:00
Robert Roebling
5f1d306901 %s to %ls conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 12:11:03 +00:00
Robert Roebling
94ac672812 What did I change here?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:49:10 +00:00
Robert Roebling
c35c94f6cd Corrected dangerous cast.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 16:17:23 +00:00
Robert Roebling
b1ac3b56e6 Added wxString::FromAscii() wxString::ToAscii().
Removed wxConvFile, made it a define wxConvLocal.
  Exchanged some wxConvLibc to wxConvLocal calls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 13:09:57 +00:00
Robert Roebling
92980e9076 Changed wxStat, wxAccess and wxOpen to no longer
being just a define so that the signature is
    using wxChar under Unicode under Unix just as
    it does under Unicode under Mac. This required
    some modification in various places, but should
    make debugging a little easier, among others.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 21:44:50 +00:00
Robert Roebling
401eb3dec2 Lots of Unix/Unicode compile fixes, some of which
are just #ifdef 0 such as the wxExecute calls
    in gdcps.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:04:08 +00:00
Mattia Barbon
17234b2644 Allow compiling wxMotif/GTK/X11 for Cygwin/XFree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 16:58:05 +00:00
Vadim Zeitlin
1f1070e2ed cleared the wxFileNameFromPath mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 23:49:32 +00:00
David Webster
b0091f58f8 Compiler bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 15:49:41 +00:00
Vadim Zeitlin
e21a44de9f test for HAVE_FNMATCH, not HAVE_FNMATCH_H
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 16:56:11 +00:00
Vadim Zeitlin
ba14d9861d applied patch to build wxMSW with CW7 (patch 550445)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:34:44 +00:00
Vadim Zeitlin
9a5ead1e45 corrected passing const char * to a function taking char * (part of the patch 543892)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 18:47:34 +00:00
Gilles Depeyrot
8372d79dc2 corrected FSSpec to POSIX file name conversions for Mac OS X (Apple DevTools)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 12:49:48 +00:00
Václav Slavík
247f8a77bc blind fix to wxGetCwd crash on NT when wxUSE_UNICODE=1 and wxUSE_UNICODE_MSLU=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 00:04:57 +00:00
Václav Slavík
f5c0e65719 fixed compilation for wxUSE_UNICODE=1, wxUSE_UNICODE_MSLU=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 00:18:28 +00:00
Vadim Zeitlin
564225a113 added an error message to wxCopyFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 16:41:27 +00:00
Václav Slavík
3d5231db07 more MSLU fixes and moved MSLU stuff into separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:29:25 +00:00
Václav Slavík
dbc38199c0 more MSLU fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:42:01 +00:00
Julian Smart
45ff6421e6 Removed wxBuffer from several ports; added function to get XEvent name;
started on commandline parsing for wxX11


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:07:26 +00:00
Mattia Barbon
e02e8816c7 Fix MinGW compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 22:37:48 +00:00
Vadim Zeitlin
a28ae4096b don't call wxLogLastError() in wx{File|Path}Exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 13:17:07 +00:00
Vadim Zeitlin
e32d659d4d compilation fixes after previous check in (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 22:05:19 +00:00
Vadim Zeitlin
2db300c664 Win16 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 21:59:13 +00:00
Vadim Zeitlin
3ffbc733a2 patch to fix various filename-related functions for cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 17:02:45 +00:00
Vadim Zeitlin
2fe0ef8a1e fix for Sun CC bug with not calling temporary objects dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 20:31:40 +00:00
Vadim Zeitlin
13b1f8a7e6 added a fix for cygwin and cleaned up wxGetWorkingDirectory()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 17:36:20 +00:00
Vadim Zeitlin
295272bdcd more Sun C++ compiler warning fixes: in particular, added an ugly but
necessary workaround for avoiding warning in the .xpm files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 19:33:37 +00:00
Stefan Csomor
76a5e5d21e removing dependancy on mac headers from public wx headers (eventually adding wx/mac/private and typecasts)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:26:02 +00:00
Vadim Zeitlin
903b61cc9d fixed wxIsPathSeparator() to work for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 01:39:22 +00:00
Václav Slavík
6de5b59919 added workaround for Unicode functions not working under MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 00:45:29 +00:00
Václav Slavík
a204e0b5da Ehm... fixed my comment about DJGPP to say what I wanted it to say
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 12:31:03 +00:00
Václav Slavík
4b00a53837 fix for DJGPP returning unix/like/paths instead of what\you'd\expect\under\dos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 00:05:49 +00:00
Václav Slavík
e168b6acfd fixes to wxFindFirstFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-16 20:38:01 +00:00
Václav Slavík
c04857dd6a removed platform-specific code for wxFindFirst/NextFile and replaced it with a generic implementation that uses wxDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-16 11:20:16 +00:00
Václav Slavík
b916f80933 DJGPP compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:17:04 +00:00
Václav Slavík
8ff1234234 wxFindFirstFile and friends for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:25:16 +00:00
Václav Slavík
f48fa475c2 DOS+Watcom fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 17:03:33 +00:00
Vadim Zeitlin
ade35f11fe 1. added wxFileName::CreateTempFileName() and implemented it properly (using
mkstemp() when available)
2. wxTempFile::Open() and wxGetTempFileName() now use CreateTempFileName()
   avoiding code duplication
3. updated the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:18:11 +00:00
Julian Smart
c67d6888d4 Fixing wxMicroWindows compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:22:16 +00:00
Gilles Depeyrot
a1c34a786a corrected Carbon to/from POSIX path conversions for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-12 20:32:23 +00:00
Stefan Csomor
eea0ecad6e corrected findfirst/next on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 22:00:54 +00:00
Gilles Depeyrot
e8e1d09e0e corrections for path handling under Mac OS X
Classic Mac paths (: separator) are used when compiled using CodeWarrior even
under Mac OS X; Unix like Mac paths (/ separator) are used when compiled using
the Apple Developer Tools


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 06:25:05 +00:00