Commit Graph

306 Commits

Author SHA1 Message Date
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
Gilles Depeyrot
f1317a5d94 fixed error in inlined (standard) version of wxStringData deallocation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 15:59:46 +00:00
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
Julian Smart
dbda9e86f0 Added more makefiles; fixed some samples for Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 16:00:23 +00:00
Vadim Zeitlin
566b84d2ad some compilation "enhancements"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 17:39:04 +00:00
Vadim Zeitlin
c606a9a401 conversions from int/long to wxString won't compile any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 16:06:01 +00:00
Vadim Zeitlin
3f4a0c5be3 _MSC_VER => __VISUALC__ change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 16:48:12 +00:00
Julian Smart
8870c26ecb Added a few files; fixed some warnings and wxMotif compile problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 18:47:10 +00:00
Julian Smart
03ab016d66 Some corrections for BC++ compilation; Latex doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 11:42:58 +00:00
Vadim Zeitlin
dcfde59229 bool wxString::operator!() const added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-28 13:44:26 +00:00
Vadim Zeitlin
c84c52de6f Added Upper() and Lower() - return the copy of the string converted to upper
or lower case (unlike MakeXXX() counterparts which change the string itself)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-26 16:08:09 +00:00
Julian Smart
a3ef5bf504 Various changes for Salford C++, and commited fileconf.h/fileconf.cpp changes
to take out nested classes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-16 00:13:58 +00:00
Vadim Zeitlin
3c67202dee 1. NOT_FOUND -> wxNOT_FOUND
2. wxString::Left(), Right(), Before(), After() clean up
3. wxLocale updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-14 14:33:56 +00:00
Julian Smart
2432b92dd7 Doc & Symantec C++ fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-07 08:43:47 +00:00
Vadim Zeitlin
07c5641a93 wxString(const wxString& str, size_t position, size_t len) ctor now doesn't
have default value for the third param to avoid conflicts with
wxString(const wxString& str, size_t len) ctor. Sorry if this breaks code
which relied on it...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-01 22:49:27 +00:00
Stefan Csomor
17dff81c71 mac support as stubs added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-01 16:22:21 +00:00
Julian Smart
1fc5dd6f8e Updated the Remstar ODBC files, got the db sample compiling; added Freq and SubString
to wxString


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-30 17:40:53 +00:00
Julian Smart
88150e6073 Fixes to wxMotif scrolling and colours (wxTreeCtrl/wxListCtrl now seem to work
well, ta-ra!); fixes to thread.cpp since constants were changed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-28 21:32:10 +00:00
Julian Smart
6244848856 Changes for 16-bit BC++ (not there yet), GnuWin32; typetest sample
fixed; some documentation fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-28 12:35:49 +00:00
Julian Smart
7be1f0d91a Partial Watcom C++ 10.6 support added (doesn't link for some reason)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 23:18:59 +00:00
Julian Smart
34b5942848 Bother, had to revert it since it caused more ambiguities.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 18:19:51 +00:00
Julian Smart
c52486391b Removed sometimes-ambiguous wxString operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 18:12:31 +00:00
Karsten Ballüder
e0e680d2e3 Another try to detect alpha systems and fix string.h for it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-01 15:51:49 +00:00
Karsten Ballüder
1805077dc2 handle sizeof(int) correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-27 14:19:39 +00:00
Karsten Ballüder
f0a7cb422e made operator definition dependent on sizeof(int), not __UNIX__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-27 11:55:54 +00:00
Karsten Ballüder
f780dc8642 trying to resolve string problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 20:47:40 +00:00
Karsten Ballüder
225526039b trying with only an operator[] (int) and not (size_t)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 11:38:02 +00:00
Karsten Ballüder
b9fc7b7fdd made operator[](int n) const #ifdef _WXMSW__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 14:34:16 +00:00
Vadim Zeitlin
7be07660b4 1. Empty() now doesn't free memory - Clear() does
2. operator<<(int), (float) and (double) added
3. vsnprintf() is used if available instead of vprintf() (buffer overflows...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-24 16:08:06 +00:00
Julian Smart
184b5d99a5 Changes to WXDLLEXPORT keyword position for VC++ 6.0; changed
wxTrace to wxDebugLog in memory.cpp and also app.cpp (please check this works
on wxGTK!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-22 22:32:53 +00:00
Unknown (UG)
6dae83beef const added to Contains
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-11 08:42:10 +00:00
Unknown (UG)
ed7174bafe no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-06 09:45:23 +00:00
Unknown (UG)
c33534e597 dll fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-06 09:33:25 +00:00
Julian Smart
4b5f3fe655 Motif and other mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-26 17:10:25 +00:00
Julian Smart
fbc535ff08 Changes related to stream includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-12 07:46:15 +00:00
Vadim Zeitlin
2c3b684c2b bogus assert removed, optimized (and removed a bug in process of doing it)
wxString::Trim


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-03 00:25:17 +00:00
Robin Dunn
d4b67f95d2 Found the RIGHT place to make the __unix__ fix.
Undoing the other changes I just made.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-30 23:37:45 +00:00
Robin Dunn
217e13fa85 fixed Stricmp ifdef to also check for __unix__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-30 23:07:37 +00:00
Vadim Zeitlin
47d67540a0 USE_xxx constants renamed to wxUSE_xxx. This is an incompatible change, you
must recompile everything after upgrading!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-25 13:28:52 +00:00
Karsten Ballüder
ecadfc3f5a check for empty data pointer in Len() and Empty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-21 20:13:41 +00:00
Vadim Zeitlin
3c024cc22f fixed 64but bug with g_strEmpty initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-17 14:31:17 +00:00
Julian Smart
fbcb41664b DLL-related changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-14 16:37:24 +00:00
Vadim Zeitlin
c86f1403c3 globally renamed uint to size_t. This has _not_ been checked under Windows,
although I changed msw files also, so please wait until this evening if you
want to be sure that it compiles. This change should fix 64 bit compilation
problems, but it would be nice to test it...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-18 15:36:12 +00:00
Julian Smart
34138703c3 Changes mostly as a result of __WXSTUBS__ compilation. The stubs code now
compiles under Windows with VC++. Also OGL enhancements espec. wxDrawnShape.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-15 00:23:28 +00:00
Vadim Zeitlin
3ed358cbfe size_t -> int conversion and the warnings about it corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-04 16:05:22 +00:00
Julian Smart
f7bd26981f Update to docs incl. wxString first stab; added a couple of palette-related events (wxMSW)
needed for wxGLCanvas


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-29 06:51:33 +00:00
Robert Roebling
d355d3fe69 wxFrame::SetIcon()
it's possible now to call Close() after ShowModal()
  dialog sample works
  changed wxString::First() etc to return -1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-27 23:01:43 +00:00
Vadim Zeitlin
6b95b20d03 correct (working) version of wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-17 20:51:36 +00:00
Vadim Zeitlin
dd1eaa89dd optimizations: more functions made inline, added Alloc()/Shrink() function for
more precise control over string's memory


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-15 17:10:23 +00:00
Vadim Zeitlin
f04f399187 wxGetEmptyString() function added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-12 22:40:00 +00:00
Vadim Zeitlin
8fd0f20ba4 1) some size_t replaced with uint - does it now compile under Alpha??
2) added Matches(const char *mask) function which checks if the string
   matches the mask possibly containing '?' and '*' wildchars
3) GetWriteBuf complemented with UngetWriteBuf


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-08 22:21:11 +00:00
Julian Smart
0d3820b348 Added #pragmas for gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-03 16:36:10 +00:00
Vadim Zeitlin
0f03d24f30 Oops... just added wxString::Scanf() functions can't be implemented under
Windows. Removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:51:27 +00:00
Vadim Zeitlin
c8cfb486fb 1) Right(char ch) now returns the part of the string after the last
occurence of ch _without_ ch itself (like Left(char ch))
2) Added wxString::Scanf() and wxString::ScanfV()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-18 13:20:42 +00:00
Julian Smart
6b0eb19fe8 Misc changes for DOS compatibility, plus added wxApp::CreateConfig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-05-27 13:56:59 +00:00
Karsten Ballüder
c801d85f15 Initial revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-05-20 14:01:55 +00:00