Václav Slavík
1202890513
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Julian Smart
42d11c8e66
Compile with EVC 3.0 2002
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 22:28:21 +00:00
Julian Smart
0be9ace27e
Added RTL functions missing from WinCE to wxchar.h/cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 13:46:39 +00:00
Julian Smart
5e9670446a
Further WinCE mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 11:15:59 +00:00
Stefan Csomor
4367345099
path translation (umlauts) added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:46:44 +00:00
Vadim Zeitlin
bddd7a8d89
renamed WXDLLEXPORT_BASE/CORE to WXDLLIMPEXP_BASE/CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:59:24 +00:00
Vadim Zeitlin
886dd7d28e
fixes needed for separate DLL build to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:41:23 +00:00
Chris Elliott
bf978f96c2
Macro swicth from SC to SYMANTEC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 11:30:18 +00:00
Stefan Csomor
1940f66914
switching to as many MSL wchar implementations as possible for wxMac unicode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 15:44:56 +00:00
Stefan Csomor
69a3ae88fc
better mb2wc conversions for mac unicode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 20:55:23 +00:00
Stefan Csomor
c4e41ce37a
wxMac Unicode support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:14:39 +00:00
Chris Elliott
11a1face0e
fix bcc bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 19:54:11 +00:00
Vadim Zeitlin
ec0d6da38d
attempts to fix vsnprintf() detection under HP-UX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 02:33:13 +00:00
Vadim Zeitlin
07243717e2
tried to clean strdup() mess: we now have wxStrdup[AW] which should be always available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 00:43:28 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Václav Slavík
4356ee76a5
another fix for wxSnprintf_
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 23:22:30 +00:00
Mattia Barbon
79668caec9
Fixed MinGW/configure/Unicode compilation: MinGW/MSVCRT vswprintf does not
...
behave like other vswprintf; under Win32 you really want _vsnwprintf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 20:23:36 +00:00
Vadim Zeitlin
66bd58e8a6
gtk2 Unicode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 23:29:22 +00:00
Vadim Zeitlin
66ee25523a
fixed ATTRIBUTE_PRINTFs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 12:55:25 +00:00
Vadim Zeitlin
69429a166f
compilation fix for cygwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 11:54:47 +00:00
Vadim Zeitlin
7e92d86d78
don't #define wxStrtok() which takes 3 arguments as wcstok() which takes only 2, this can't compile in Unicode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:47:56 +00:00
Julian Smart
2385ec429a
Added #include <ctype.h> since it seems to have
...
gone missing from this file for non-Unicode
cases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 14:56:34 +00:00
Vadim Zeitlin
a8ddb18623
should fix Unicode build for BC++ 5.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 15:06:46 +00:00
Gilles Depeyrot
af49c4b8a2
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Vadim Zeitlin
96d7977711
apparently CW always has vsnprintf()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 19:04:42 +00:00
Vadim Zeitlin
d4ea46dbad
(blind) fix for BC++ compilation problem with wxPutc() redefinition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 08:56:50 +00:00
Vadim Zeitlin
129db666f1
Windows compilation fixes after recent changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 19:03:06 +00:00
Gilles Depeyrot
c016649521
BSD systems define _T to something different in ctype.h, therefore include
...
ctype.h before overriding _T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:46 +00:00
Vadim Zeitlin
f6f5941be5
reorganized, improved and hopefully simplified wxchar.h and printf() functions handling; also added wxWcslen() to fix wcslen() problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:13:44 +00:00
Vadim Zeitlin
74ee96987a
compilation fix for Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 19:53:25 +00:00
David Webster
42d9bd5dc9
need for VisualAge to include wchar.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 02:22:46 +00:00
Robert Roebling
6d60815d74
Convert %s to %ls and %c to %lc in printf and scanf etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 12:09:48 +00:00
Václav Slavík
02a775c98e
fixed wxChar definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 11:10:39 +00:00
Robert Roebling
a59c124d06
Implemented the various printf() functions under
...
Unicode with their GNU libc 2.2 funtions. This
saves us some unicode<->ansi conversion and we
no longer need the experimental printf() code
in string.cpp. I had to implement wxSprintf()
using wxSnprintf() as the former doesn't exist
in Unicode GNU libc 2.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 11:58:15 +00:00
Julian Smart
c7808714c9
Applied patch [ 587454 ] CW-related wx/wxchar.h fix
...
This fixes the problem in include/wx/wxchar.h with
including <wchar.h> for CW reported by Andreas
Simanowski.
The current version does not work with CW Win32 builds.
The fix suggested by Andreas is incorrect, because it
will break the wxMAC CW builds.
The purpose of conditionals starting at line 77 is to
correctly handle the various compilers. The fundamental
problem with the existing code is that it begins by
conditioning on __WIN32__. This is wrong, and makes
it hard to handle compilers that work on more than one
OS (such as CW).
Instead the conditionals should be done purely on
compilers. Each compiler can then set things
appropriately. If a particular compiler works on more
than one OS but has different needs on each OS, then
this can be handled within the code for that compiler.
The attached patch removes the top level conditional on
__WIN32__ and restructures the remainder as a series
of conditionals on individual compilers.
Igor Mikolic-Torreira
igormt@alumni.caltech.edu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:35:25 +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
109c7768eb
fixed wxStrrchr(s, '\0') bug, added const and non const versions of wxStrchr, wxStrrchr, wxStrstr, ...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 19:55:08 +00:00
Gilles Depeyrot
f9b170bd18
added attribute printf to perform printf format checks (GNU C)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 16:58:27 +00:00
Vadim Zeitlin
808ef6d2e8
warning fix for cygwin (patch 539654)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 10:43:33 +00:00
Vadim Zeitlin
a27d279f9d
blind fix for compilation under AIX: always include wchar.h if available, even if we have wcstr.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 14:06:42 +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
Stefan Neis
84dd58ce98
Added wchar handling for EMX (gcc on OS/2).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 21:47:45 +00:00
Stefan Csomor
ab1437caac
under metrowerks mac strdup is not exported
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:09:06 +00:00
Julian Smart
7fc0bd1c05
Fixes for GNUPro 00r1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:36:18 +00:00
Vadim Zeitlin
3f562374f1
added __TDATE__ and __TTIME__ and use them instead of __DATE__ and __TIME__ for Unicode-friendliness
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 01:05:37 +00:00
Václav Slavík
147043343e
DJGPP compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:17:56 +00:00
Mattia Barbon
fbdb357ea2
Fixes for Cygwin compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 20:44:22 +00:00
Gilles Depeyrot
9e392a09f1
added wcslen prototype declaration for Darwin/FreeBSD, wcslen is in wxchar.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 18:46:43 +00:00
Gilles Depeyrot
750c3a6d07
wchar/wcslen corrections for Darwin (same as FreeBSD)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 17:20:38 +00:00
Mattia Barbon
0e44823110
Various cygwin compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 20:56:37 +00:00