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
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