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