Commit Graph

142 Commits

Author SHA1 Message Date
Stefan Csomor
2a039701a8 specific workaround for XCODE native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 17:15:02 +00:00
Stefan Csomor
c2e5616e06 on xcode native we end up with several definitions otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-26 05:20:52 +00:00
Stefan Csomor
11c5b47d94 added fix for MSL under Win32 (by Steve Hartwell)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 06:40:18 +00:00
David Elliott
46d492a879 Do not #undef wxNEED_PRINTF_CONVERSION if wxVsnprintf_ has not been defined
(to an OS implementation).  Instead, check when delcaring the wxSnprintf
and wxVsnprintf wrappers and only define them if wxVsnprintf_ has been defined.

This allows HAVE_VSWPRINTF to be false yet still allow other OS wchar
functions to be used which will be needed to work around FreeBSD/Darwin.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 01:50:58 +00:00
Vadim Zeitlin
3a5bcc4db0 removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 13:10:14 +00:00
Ron Lee
b63b07a809 More updates to the Debian packaging for wxPython, unicode and
the project name change.

Applied patch from ABX to make tex2rtf unicode compatible, then
removed wxSprintf lameness from it so it might actually work.
Also modified it to return true from tex2rtf OnInit in console
builds so the app will exit with a successful return code rather
than always returning failure even when it succeeds.

Implemented unicode capable wxCtime for glibc systems also needed
by tex2rtf.

Wrapped dde include in tex2rtf in a guard and assert that dde is
MSW only in its forwarding header.

Lowered the limit of maxlen in wxSprintf so it actually has a
chance to segfault on people instead of failing silently and
mysteriously with glibc.

Silenced some other 'potentially uninitialised variable' warnings
from gcc3, most of which were bogus, one potentially not so.

Added missing newline at the end of fontdlg.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 17:40:38 +00:00
Stefan Csomor
ea969303f8 mwerks addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 16:39:22 +00:00
Chris Elliott
8dfb846e80 try to fix D Mars compilation for Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 14:34:22 +00:00
Chris Elliott
d833907230 fix for non-unicode DMC builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 15:04:30 +00:00
Stefan Csomor
1d1ed4087d unicode targets cleanup for cw and xcode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:18:44 +00:00
Vadim Zeitlin
ba1e9d6ced Digital Mars compilation warnings and Unicode fixes (patch 884587)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:07:08 +00:00
Vadim Zeitlin
386d53dc2e trying to make comments readable again after their auto-mangling by RN...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 12:51:44 +00:00
Vadim Zeitlin
8dbb97958a fixed wxIsctrl/wxIscntrl confusion (modified patch 888519)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 12:46:14 +00:00
Vadim Zeitlin
fbad77ca73 fixed the mess (nested C/C++ comments) intorduced by automatic comments conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 12:41:39 +00:00
Julian Smart
7d5ae6695b Applied patch [ 871762 ] Solution to losing strings in Open Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 07:41:36 +00:00
Ryan Norton
9965cadbde more ifdef C++ stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 22:18:37 +00:00
Václav Slavík
30f2fa6c53 fixing the regex mess that Ryan wasn't yet able to fix himself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 12:42:57 +00:00
Ryan Norton
fa9982d710 1.
Only checks platform #defines in C++ now

2.
A couple /* within /* warnings were fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 03:34:22 +00:00
Ryan Norton
34cbe514cf 1.
Added Release With Debug Info to regex.dsp

2.
Added Release Unicode With Debug Info to regex.dsp and wxWindows.dsp

3.
Converted DS's C++ comments in regcustom.h and regex.h to C

4.
Converted defs.h and all headers it includes to C from C++ by
changing all C++ comments to C and using #ifdef __cplusplus to keep out C++-specific stuff.

5.
Changed wx_wchar to #define wx_wchar wxChar instead of copying wxchar.h code in regcustom.h.

6.
Changed the macros around a bit in regcustom.h.  Originally duplicated code from wx/defs.h.  Now uses SIZEOF_WCHAR_T to get the approriate data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 19:30:31 +00:00
Julian Smart
4c663122e4 Fixes for previous fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 10:26:46 +00:00
Julian Smart
92d8fb5dc6 Fixes for later WinCE versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-14 21:06:21 +00:00
Vadim Zeitlin
63e7198ba8 moved wxUSE_UNICODE <-> _UNICODE checks to wx/platform.h from wx/wxchar.h because wxUSE_UNICODE is used in wx/defs.h itself, before wx/wxchar.h is included
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 21:24:16 +00:00
Julian Smart
c27be5db0b Added SQLTCHAR for non-Windows platforms, and added missing
wxFputs to wxchar.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 10:59:14 +00:00
Julian Smart
8a39593ebe Applied patch [ 808050 ] fixes for WXUNIVERSAL and UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 14:03:09 +00:00
Stefan Csomor
939fba6c17 removal of pc-mac charset conversion for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 18:40:43 +00:00
Stefan Csomor
7323387564 unicode correction for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 09:00:28 +00:00
Stefan Csomor
f825dcd123 fix for CW non unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:34:15 +00:00
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