Gilles Depeyrot
8ecf21b7db
improved deallocation fix for Visual C++ Multithreaded non DLL runtime
...
so that it only has a performance impact on wxString in this configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 14:03:37 +00:00
Gilles Depeyrot
ca5e07c768
VC++ free must take place in same DLL as allocation when using non dll
...
run-time library (e.g. Multithreaded instead of Multithreaded DLL)
we must not inline wxStringData deallocation since allocation is not inlined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-28 21:11:17 +00:00
Julian Smart
083f7497d3
Applied some of patch [ 688466 ] MSVC7 build & bug fixes
...
by Darren Whobrey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 11:10:37 +00:00
Vadim Zeitlin
5460b9e30b
added non-const begin()/end() methods to wxString (patch 696842)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 20:32:55 +00:00
Julian Smart
371a5b4e62
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 10:34:04 +00:00
Vadim Zeitlin
65f19af139
added iosfwrap.h (wrapper for <iosfwd>)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 00:12:12 +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
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
e015c2a31f
rewrote wxString::To/FromAscii() to fix a few small problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:09:27 +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
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
Gilles Depeyrot
7357f98198
added attribute printf checks to printf like functions (when using gcc)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 21:38:43 +00:00
Gilles Depeyrot
b1801e0eb8
improved out of memory handling by return failure status where possible and
...
adding asserts in debug mode (suggested by SourceForge patch # 544906)
corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 14:11:40 +00:00
Vadim Zeitlin
09443a269e
added Append(const wxString&) overload and replaced all wxASSERTs with wxASSERT_MSGs in attempt to make them more clear
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 12:37:34 +00:00
Vadim Zeitlin
2a39c38627
wxArray(int n) mods for wxArrayString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 20:02:17 +00:00
Vadim Zeitlin
538f35ccf4
use base 10 by default in wxString::To[U]Long
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 13:24:19 +00:00
Vadim Zeitlin
5737d05f86
fixed <strings.h> include and also removed the obsolete WXSTRING_IS_WXOBJECT setting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 15:06:17 +00:00
Václav Slavík
1c2e6a2812
added length argument to wxString::wxString(wchar_t*), just like in case of wxChar* one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 00:14:10 +00:00
Vadim Zeitlin
0fe1f685b4
tried to make wxArrayString(bool autosort) ctor more explicit, e.g. prevent it from being used in implicit conversions from char * to wxArrayString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 15:20:17 +00:00
Ron Lee
9d155f504e
Added GetStringArray method.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 11:16:46 +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
Vadim Zeitlin
1d21855083
added wxStringBuffer helper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:16:16 +00:00
Vadim Zeitlin
71e030352d
1. added wxStatusBarUniv
...
2. several bug fixes to wxSpinButton/wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 21:38:58 +00:00
Gilles Depeyrot
d739313fc0
corrected comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 08:22:20 +00:00
Vadim Zeitlin
4eb438cf7c
added base parameter to wxString::To[U]Long
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 20:26:48 +00:00
Vadim Zeitlin
735d1db6cb
made wxString::assign() more efficient (don't force buffer reallocation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 14:09:54 +00:00
George Tasker
c0881dc32e
Spelling typos in comments fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 17:05:38 +00:00
Vadim Zeitlin
00b4a13e0c
declared private wxString::operator=(int) to prevent code like "str = 17;" from compiling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 14:37:30 +00:00
Vadim Zeitlin
d836ee960a
hopefully finally fixed the problem with ambiguous overloads of wxString::operator[] for _all_ machines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 17:27:44 +00:00
Vadim Zeitlin
dd107c50be
applied patch for compilation with gcc 3.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 16:51:53 +00:00
Vadim Zeitlin
6d56eb5c56
applied patch 417699 (remove WXDLLEXPORT from inline functions)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-26 16:38:11 +00:00
Vadim Zeitlin
28a156b14c
fixed previous commit (no changes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 14:53:12 +00:00
Vadim Zeitlin
0cbe5ee3a9
applied patch 103575 (more efficient wxString comparison)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 13:42:47 +00:00
Vadim Zeitlin
83a136ac4a
extended RemoveLast() to take size_t parameter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-28 02:14:00 +00:00
Vadim Zeitlin
da2fd5acd8
added wxArrayString::RemoveAt()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-04 19:42:22 +00:00
Vadim Zeitlin
fb20fa43a0
merged in the commit from the 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-04 23:38:26 +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
Robin Dunn
8f06a01712
Minor additions to make working with binary buffers easier.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:22:44 +00:00
David Webster
5d33ed2c6b
VA 4.0 fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 14:16:05 +00:00
David Webster
67b81440f0
VA 4.0 fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 23:37:54 +00:00
David Webster
66b6b04535
Visualage C++ V4.0 duplicate symbol fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 21:07:57 +00:00
Vadim Zeitlin
3ce65f6c9b
more stream-like insertion operators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 16:38:12 +00:00
Vadim Zeitlin
341e7d2889
wxString::Format() added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 16:11:45 +00:00
Vadim Zeitlin
cd0b170911
1. wxLongLong and wxDateTime compilation fixed for the compilers without native
...
"long long" type (and some code in timercmn.cpp too)
2. wxDate and wxTime reimplemented using wxDateTime (old versions tagged as
OLD_DATE_AND_TIME)
3. wxString::To(U)Long and ToDouble added and documented
4. bug with combobox in toolbar (drop down list wasn't dismissed) fixed
5. several wxDateTime::Parse() functions implemented
6. added support for coloured buttons under MSW (not completely finished)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 01:44:45 +00:00
David Webster
9dea36ef6d
Visualage C++ V4.0 updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:32:53 +00:00
Vadim Zeitlin
8c264b23ad
wxString::substr() bug fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 16:29:34 +00:00
Vadim Zeitlin
252a752e85
1. wxBase compiles/links again
...
2. wxString::reserve() (STLese for Alloc()) added
3. compilation fixes for mingw32/BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 11:37:42 +00:00
Vadim Zeitlin
378b05f7f8
wxSnprintf() and wxVsnprintf() added, documented and used in wxLog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 15:49:59 +00:00
Stefan Csomor
7c74e7fe1d
wxMac completed so far, generic listctrl extension
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 16:11:14 +00:00
Karsten Ballüder
0c4234663d
another operator needed for __alpha__
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 17:04:13 +00:00
Karsten Ballüder
f83db66133
modification to AXP hack
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 13:02:26 +00:00
Karsten Ballüder
16c61f1b48
made new operator __alpha__ dependent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 09:43:42 +00:00
Karsten Ballüder
5367e67d63
added operator[](unsigned int) const -- testing it now on Linux/axp,
...
solaris, linux/i386
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 09:27:36 +00:00
Sylvain Bougnoux
825ba8f0de
Add operator << (ostream&, const wxString&)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 15:11:25 +00:00
Vadim Zeitlin
f512f90a83
always use wxString::operator[](size_t) - wxWin doesn't compile without it anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 17:15:29 +00:00
Vadim Zeitlin
e01c8145b1
1. some fixes for wxSortedArrayString
...
2. wxChoice understands wxCB_SORT under GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:12:04 +00:00
Vadim Zeitlin
e87271f358
1. made wxBase compile/link/run again under Unix
...
2. added wxSortedArrayString class and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 09:24:15 +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
Robert Roebling
6001e347ba
Added strconv
...
Renamed zipstream -> zipstrm
Updated makefiles etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-08 11:31:18 +00:00
David Webster
e2c87f4cc4
*** empty log message ***
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-28 04:02:37 +00:00
David Webster
1777b9bbf4
*** empty log message ***
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-28 03:38:12 +00:00
Robert Roebling
3883022093
Work on streams of all sorts. More to come.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-27 10:39:38 +00:00
Vadim Zeitlin
f33fee2ae6
wxString::IsSameAs(char) added and documented as well as operator==(char)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-15 22:30:44 +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
Ove Kaaven
5ca07d0fd7
operator for wxString == wx[W]CharBuffer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-14 14:23:18 +00:00
Robert Roebling
91b8de8dee
Added OS/2 patches to wxGTK.
...
Updated docs.
Added wxMask code.
Added Sylvain's newest tree ctrl code and sample.
Corrected wxDC background colour (now as wrong as wxMSW).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-13 15:24:01 +00:00
Ove Kaaven
093ac02981
Use wxStricmp instead of Stricmp in CmpNoCase.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-10 18:10:10 +00:00
Vadim Zeitlin
2bc07607fc
wxString::begin and end added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-03 22:46:05 +00:00
Julian Smart
e90babdf85
Added progdlgg.cpp to makefiles; fixed true/false in treectrl.h; made IsFree
...
consistent (const omission)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-02 14:08:08 +00:00
Vadim Zeitlin
969d318c6a
find_first/last_[not]_of() functions added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 12:41:28 +00:00
Julian Smart
0f3e3e0c30
Misc. fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 14:49:40 +00:00
Julian Smart
6776a0b25c
Some doc corrections; various small fixes for Cygwin and BC++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-06 08:38:01 +00:00
Ove Kaaven
a55268db33
cWX2MB and cMB2WX should be available even when without wchar_t.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 14:20:05 +00:00
Ove Kaaven
c50c1ddcb2
Should compile better if wchar_t is not available.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 17:14:48 +00:00
Robert Roebling
e5ea3f7a96
added check for GTK 1.2
...
added symbol __WXGTK12__ (do not use GTK_MINOR_VERSION in your code
as this is undefined anywhere outside wxGTK itself)
updated wxGTK.spec for local builds
fixed clipboard clear/setdata race
test for wxConvLocal in dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 20:48:39 +00:00
Ove Kaaven
5f709e6725
Changed capitalization style of wxConv*
...
(e.g. wxConv_current is now wxConvCurrent, although I put some #defines
in to still have it compile)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 18:18:30 +00:00
Ove Kaaven
6f841509ce
Uses wxUSE_WCHAR_T for compilers that don't support wchar_t.
...
Added wx_str() and WXCSTRINGCAST, which should be explicitly defined
to work on wxChar (doesn't look like people want c_str() to be
unconditionally defined as wxChar).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-25 12:42:55 +00:00
Ove Kaaven
d9e89b159c
cMB2WX and cWX2MB accepts null pointers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 12:21:03 +00:00
Ove Kaaven
111edd48cc
Hmm, seems Borland also doesn't want wchar_t in fopen() and friends
...
(correct me if I'm wrong?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 18:27:51 +00:00
Ove Kaaven
551df6f246
New private SetName method in wxCSConv...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 22:51:21 +00:00
Brian Macy
c6cee67252
Changed some parameters to be const references
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 18:27:29 +00:00
Ove Kaaven
b2219150ca
Hm, better make the operators inline.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 16:41:05 +00:00
Ove Kaaven
bf88baa63e
Needed the reverse operator+ too...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 12:49:47 +00:00
Ove Kaaven
028a2b5d53
operator+(const wxString&, const wx[W]CharBuffer)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 12:24:26 +00:00
Ove Kaaven
a86f1d4a7d
Slightly better style?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 18:07:30 +00:00
Ove Kaaven
3a309a64d7
Another inline constructor to facilitate Unicode conversion without #if-ing...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 15:13:26 +00:00
Vadim Zeitlin
2f000c959a
GTK 1.0.x compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 13:53:00 +00:00
Ove Kaaven
a69f7aa823
More helpful Unicode stuff.
...
Conversion classes are now:
wxConv_libc (standard mbstowcs/wcstombs)
wxConv_file (usually same as above, but I think some Asian locales
use different encoding systems on the filenames than on the contents
of the files)
wxConv_UTF7 (7-bit Unicode encoding (similar to BASE64), for email etc,
not implemented yet)
wxConv_UTF8 (8-bit Unicode encoding, not implemented yet, just uses
mbstowcs/wcstombs, which just happens to be UTF-8 in glibc2)
wxConv_gdk (gdk_mbstowcs/gdk_wcstombs, not too useful)
wxConv_local (current 8-bit character set, from LANG env var)
wxConv_current: pointer to conversion class. Points by default to
wxConv_local, but it's meant to be able to be redirected by the user
(and wxGTK can point it at wxConv_UTF8 if it manages to set the UTF-8
locale).
mbc_str() returns mb_str(*wxConv_current) for convenience.
I will use mbc_str() in my upcoming wxGTK adaption.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 19:56:54 +00:00
Ove Kaaven
d41bba9157
wxMBConv derived classes and instances.
...
Added wxConv_gdk (wrapper for gdk_mbstowcs and gdk_wcstombs, which use
X calls instead of libc calls), which should probably not be used, but is
now there for completeness, and in case it's useful after all.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 14:36:58 +00:00
Ove Kaaven
111bb7f2ea
wxString assignment operator from wx[W]CharBuffer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 07:19:59 +00:00
Ove Kaaven
4300d6cbc3
Small glitch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:41:40 +00:00
Ove Kaaven
2bb67b808b
Unicode support for wxString (wxchar.cpp won't compile without it, so I
...
figured I couldn't hold it back anyway).
Added many macros. Changed most char to wxChar, and literals wrapped in _T().
Added conversion classes. Added new constructors to wxString, and mb_str(),
wc_str(), and fn_str() (the last is mb_str() on Unix and c_str() on Windows,
since Windows takes file names in Unicode (I think), while Unix doesn't).
Rewrote wxString::Printf().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 21:14:46 +00:00
Vadim Zeitlin
b12696919b
allow access to terminating NUL character with operator[]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 17:22:19 +00:00
Vadim Zeitlin
227b5cd72f
AIX patches from Hans-Joachim Baader <hans-joachim.baader@cjt.de>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-25 15:05:57 +00:00
Vadim Zeitlin
57493f9f85
more things are done by configure: checks for bool, whether overloading based
...
on size_t/int works or not (for wxString), the type of 3rd argument to
getsockaddr, absence of libXpm is not fatal (not tested), whether strings.h
exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 19:12:49 +00:00
Vadim Zeitlin
1bfcb0b6c3
some fixes for AIX compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 15:23:00 +00:00
Stefan Csomor
8be97d65a6
CW Win32 and Mac adaptions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 16:56:43 +00:00
Vadim Zeitlin
30b21f9a04
wxArrayString::Sort() implemented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 16:52:19 +00:00