Commit Graph

192 Commits

Author SHA1 Message Date
Vadim Zeitlin
20a4311e7f use new wxAPPLY_T macro instead of 3 identical __XDATE__/__XTIME__/__XFILE__ ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:43:46 +00:00
Stefan Csomor
27ea6757f3 fix for sf bug 1448153: Widgets sample hangs on Japanese radio label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:26:59 +00:00
Vadim Zeitlin
7fab07efba let _T() work with macros (modified patch 1437983)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:16:02 +00:00
Julian Smart
ac6178d747 Applied patch [ 1381895 ] remove circular include dependendcy in wxchar.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-18 12:46:11 +00:00
Julian Smart
c1fa940272 Applied patch [ 1325207 ] Fixes unicode build using Solaris with Sun's SunPro compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-18 10:06:34 +00:00
Julian Smart
8db1a709bc Eliminated a VC++ 8 warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-17 19:10:48 +00:00
Vadim Zeitlin
df885241b0 fix for Unicode builds under OS X <= 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 12:27:18 +00:00
Vadim Zeitlin
9452e8789b fixes for Unicode build with CodeWarrior under OS X 10.2 (patch 1373217)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 12:19:14 +00:00
Vadim Zeitlin
70e51d6918 fixed check for Metrowerks mbstowcs(): check for __MSL__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 12:09:03 +00:00
Vadim Zeitlin
dbf9aa465e use our own mbstowcs() and wcstombs() implementations with Metrowerks as MSL CRT doesn't implement Unix98 extension of allowing to call them with NULL output parameters to just get the size of the needed buffer which we rely on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 16:52:54 +00:00
Vadim Zeitlin
c25e6f326b removed C++ comment from C file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 21:33:00 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Michael Wetherell
3f3a6949a6 Forgot to put the previous (v)snprintf commit inside '#ifdef __cplusplus' which
is needed for the inline function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-07 19:49:39 +00:00
Michael Wetherell
62fa8b3a1d Handle the case when (v)snprintf have the format declared as char* instead of
const char*.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-07 18:28:03 +00:00
Vadim Zeitlin
2b36af83fd compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 23:43:08 +00:00
Vadim Zeitlin
4a767dd5cd added test for snprintf() which may not be present in system headers, treat it similarly to vsnprintf() instead of assuming that it's always there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 22:46:33 +00:00
Włodzimierz Skiba
20bc5ad8dd Global platform header (<PalmOS.h>) removed from public wx-headers (but included in wxprec.h) with all consequences in wxPalmOS specific API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 19:36:58 +00:00
Julian Smart
619be6d0eb WinCE doesn't declare DeleteFile at the point wxRemove is defined,
so put it in implementation file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-30 13:50:23 +00:00
Vadim Zeitlin
53187e95ad fixed wxRemove() return value under Win CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-28 09:00:36 +00:00
Julian Smart
8241721975 Reverted namespace patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-23 15:38:21 +00:00
Julian Smart
f98e742929 Applied patch [ 1190194 ] Define some string macros to refer to :: functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 14:12:29 +00:00
Julian Smart
99d800190a Added licence/copyright information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 18:57:50 +00:00
Ryan Norton
1e96e5030c fix 10.2 shared unicode builds for mbstowcs and vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 05:19:03 +00:00
David Elliott
97ae9d4cc7 Declare strptime when using MSL headers on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 08:48:30 +00:00
Vadim Zeitlin
6f8a4ba11c wxGetEnv() should return wxChar *, even if it's a macro and not a function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:23:33 +00:00
Vadim Zeitlin
2f5e2c177c define wxGetEnv() as macro, not inline function, for WinCE as otherwise extended.c compilation fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:20:04 +00:00
Vadim Zeitlin
cbffcf1117 define wxGetenv() for WinCE which doesn't have _tgetenv() to always return NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:14:53 +00:00
David Elliott
1cbf5bc6df Use plain extern instead of extern "C" for vsnprintf declaration when not
compiling as C++.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 04:22:27 +00:00
Dimitri Schoolwerth
724a248d8d fixed Cygwin compilation (can't use extern "C" in C compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 14:53:28 +00:00
Stefan Neis
e4a1c661cd Fixed C++ comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-26 16:19:36 +00:00
Robert Roebling
cf9d4c6766 Added wxFopen to the MSLU code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 18:48:30 +00:00
Włodzimierz Skiba
4055ed8281 Use __WXPALMOS__ for PalmOS port which fits __WX$(TOOLKIT)__ of bakefiles. Do not depend on MSW macros in PalmOS port. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 12:44:22 +00:00
Ryan Norton
2c09fb3b8b wxMemxxx --> wxTmemxxx, get rid of wxdocmpxxx impossible case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 17:44:40 +00:00
Włodzimierz Skiba
5d631b78f8 Warning fix observed in tex2rtf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 19:12:34 +00:00
Włodzimierz Skiba
048ba49d87 OW prototypes does not use ints in Unicode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 19:27:13 +00:00
Julian Smart
ffecfa5aeb Committed William Osborne's wxPalmOS port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 13:40:30 +00:00
Ryan Norton
926f877be5 compilo fix (blind)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 14:02:57 +00:00
Vadim Zeitlin
19b65a3033 wxPuts() should output a trailing newline even in Unix/Unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 23:49:15 +00:00
Ryan Norton
30261041bc final compilo fixups for 10.2 unicode - c/c++ fixes for regex - fixup regex unit tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 05:00:28 +00:00
Ryan Norton
8a9c20b016 fix darwin defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 23:32:04 +00:00
Ryan Norton
265d5cce05 1.10.2 and less mbtowc and wctomb HAVE THE COOTIEScd .. (they are just stubs and return 0 - we need our own, even in ANSIcd ..!)\n2.Finalize the null character changes in wxString - change mb_str and wc_str to not stop at null characters\n3.Add unit tests for the above
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 22:28:57 +00:00
Ryan Norton
dcb6810279 2.5.3 - cleanups, fixes, etc. etc. -
1. Various stubs for wxCocoa (and the bakefile entries for them)
2. Definitions for some wxCocoa cocoa types in defs.h
3. Hack to attempt to fix SYNC sound for mac carbon
4. Fix for wxCocoa and 10.2 (Dave - I'm already around doing some stuff anyway - I'll go ahead and save you the trouble).
5. 10.2 unicode layer
6. Strings null-char fixes (stems from chartraits patch - essentially the patch minus the chartraits part - HAHA :)) [note to self - swap the 2nd and 3rd params of wxMemchr if you use chartraits and vice versa]
	* If you have time please run the strings and stdstrings cppunit test suite
	* Also add more test suites if you want - more is always better :)
	* This does not include any fixes for mbtowc etc functions as outlined on the ml

7. An attempt to update wxArray docs a little
8. wx/process.h build fix for wxCocoa
9. Unicode fixes in app.mm for wxCocoa
10. Remove newer font panel after Stefan's suggestion


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 08:53:48 +00:00
Vadim Zeitlin
27db421056 cleaning up strdup/isascii definitions for compilers which lack them (should fix CW CFM build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 21:57:40 +00:00
Vadim Zeitlin
413a490f94 Metrowerks doesn't have isascii()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 23:17:23 +00:00
Włodzimierz Skiba
cab1a6053d Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxNOT_FOUND/wxDefaultCoord, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 14:32:35 +00:00
Vadim Zeitlin
4e0f1c33cc fix wxTolower/upper() behaviour with signed chars > 0x7f with VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 22:52:39 +00:00
Václav Slavík
fbe47c7b5c check for wputc wputchar putws fputws availability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 17:18:50 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Stefan Csomor
bf4ce9bd0e unicode support for mach-O targets in Metrowerks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 18:23:38 +00:00