Julian Smart
1c193821a9
More WinCE mods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 11:21:47 +00:00
Vadim Zeitlin
a400a8230f
warning (in Unicode only) fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:48:42 +00:00
Stefan Csomor
2bb1e1f476
moved c-runtime functions for CW here, only add strdup for MSL versions prior to PRO 8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 19:47:07 +00:00
Stefan Csomor
5e0d7b6bce
pc 2 mac conversion for file operations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:52:34 +00:00
Stefan Csomor
31907d0307
unicode and __MACH__ additions for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 15:50:13 +00:00
Stefan Csomor
44c44c82a3
wxMac Unicode support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:21:51 +00:00
Julian Smart
55d99c7a77
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:28:33 +00:00
Vadim Zeitlin
33a7c3dd0b
linking fix for wxUSE_WCHAR_T=0: always provide wxStrtok() unless HAVE_STRTOK_R is defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:32:43 +00:00
Julian Smart
5283098e13
Applied patch [ 662321 ] Port of wxWindows to Wine
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 13:49:08 +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
Vadim Zeitlin
70f2e88c6b
removed wcslen() implementation, it is now inline in wxchar.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 12:33:52 +00:00
Vadim Zeitlin
df17b887ee
added a possibility to pull in printf() code for testing opurposes even if we don't really need it by defining wxTEST_PRINTF; fixed unknown format handling in wxVsnprintf(); do NUL-terminate the strings in wxVsnprintf()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:39:16 +00:00
Mattia Barbon
576acdf322
Fixed MinGW/ANSI (and probably any other C++ compiler, excluding, of course,
...
MSVC 5, with which I tested my changes) breakage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 17:35:10 +00:00
Mattia Barbon
b1a046e821
Fix wxSnvprintf (and hence wxString::Format) for Unicode, when using
...
the wxSnvprintf in wxchar.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 22:52:59 +00:00
Vadim Zeitlin
72d35070d8
fixed (yet another?) crash in wxStrtok
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:49:26 +00:00
Václav Slavík
40dd6c07aa
fix va_arg(.,short int) problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 23:02:56 +00:00
Vadim Zeitlin
1af48460ac
compilation problem for compilers with old for() scoping rules
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:13:30 +00:00
Vadim Zeitlin
f778d781eb
fixed wxVsnprintf_() compilation in ASCII mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 09:02:12 +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
c03d003515
another fix to the wxFormatConverter bug with the formats which don't have to be converted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 21:15:04 +00:00
Robert Roebling
678d3dd242
Corrected wxFormatConverter for strings which need
...
not get converted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 20:58:56 +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
9e5b30eb3e
fixed wxBase compilation (what was msgdlg.h doing in wxchar.cpp?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-18 22:50:04 +00:00
Robert Roebling
f06e307501
Put various #ifdefs vsnprintf() back in, they were
...
lost in today's changes..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 22:17:07 +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
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
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
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
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
Vadim Zeitlin
9f6fe2886f
fixed bug in wxStrstr() replacement implementation (part of patch 565031)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:04:37 +00:00
Vadim Zeitlin
b3e8d00ab0
1. made description of some options in configure [hopefully] more readable
...
2. got rid of --enable-wcsrtombs option, configure can find it out itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 13:34:12 +00:00
Václav Slavík
5707316c9c
applied utf-8 fix patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 22:44:00 +00:00
Stefan Csomor
e766c8a9ad
wxMac: wxUniversal integration steps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 20:11:26 +00:00
Ove Kaaven
66b3ec7f9a
More Unicode compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:20:03 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
191ab39aee
attempted Unicode fixes for BC++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 15:51:01 +00:00
Vadim Zeitlin
929eed4799
wxSetlocale() doesn't always return NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 14:14:19 +00:00
David Webster
ec6f69825a
Added full UNICODE support for VisualAge C++ for OS/2 V4.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 15:49:36 +00:00
Karsten Ballüder
223d09f6b5
replaced T() makro with wxT() due to namespace probs, _T() exists, too
...
fixed compilation problems, mainly in html code
compiles and links fine on Solaris, runs with samples and Mahogany
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 14:35:56 +00:00
Vadim Zeitlin
e90c1d2a19
many changes; major ones:
...
1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:15:38 +00:00
Ove Kaaven
e7b3d6babb
Implementation of wxFopen, wxFreopen, wxStrftime
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-23 09:38:03 +00:00
Ove Kaaven
a5e0b1e83d
wxStrncmp implementation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-19 04:32:35 +00:00
Ove Kaaven
b0655a87f4
Attempt to implement a bunch of wx string.h equivalents.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-17 07:00:38 +00:00
Robert Roebling
dcf924a345
Added zillions of #if wxUSE_XXX
...
Removed cmndlgs usage of wxSizer and constraints
Changed occurences of wxConv_xxx to wxConvXxxx and
changed some wxConvLibc to wxConvCurrent
Added Unicode tests to typetests (not finished)
Compile fix for wxString in Unicode mode - we have
to use the "experimental" printf then, I guess.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-14 23:04:05 +00:00
Vadim Zeitlin
aef82f12c8
more DLL compilation changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-11 00:53:28 +00:00
Guilhem Lavaux
cd8b9f13c7
* fix in wcslen()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 09:44:03 +00:00
Vadim Zeitlin
5de9bc8049
library build even without wcslen()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 11:50:40 +00:00
Brian Macy
0304608682
Fixed two missing parens
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-08 04:58:10 +00:00
Ove Kaaven
57f6da0dec
Try to not include ctype functions for win32. Not really tested with
...
Borland C++, as I don't have the machine with BC++ available right now,
but it should probably be better anyway...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-07 18:36:06 +00:00