Ove Kaaven
5432628520
Unicode conversion.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 15:20:36 +00:00
Ove Kaaven
d44f866a66
Now this one also compiles in Unicode mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 14:36:47 +00:00
Karsten Ballüder
0454d4ca74
Added variable cursor to highlight embedded user data.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 13:45:59 +00:00
Ove Kaaven
4846abaf45
Unicode interface (the communication itself is still in ASCII, I hope).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 12:44:37 +00:00
Ove Kaaven
8bec6d4ae8
Unicode support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 12:40:33 +00:00
Ove Kaaven
4400c1a450
Fixed a typo. Added sloppy implementation of wxSscanf (converts source and format,
...
then calls vsscanf; use only on number arguments!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 12:29:59 +00:00
Ove Kaaven
ea1395db1f
Add wxSscanf (used in ftp.cpp to parse returned address)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 12:19:42 +00:00
Ove Kaaven
783b6cfda4
The prevalent wide characters.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 11:44:33 +00:00
Ove Kaaven
2ed57eb790
Unicode. You know the drill.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 11:43:03 +00:00
Vadim Zeitlin
4b21397f16
GetViews() documented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 11:26:25 +00:00
Ove Kaaven
84fff0b395
More Unicode stuff. Implemented wxFprintf.
...
Some printfs changed to wxPrintf, fprintf to wxFprintf, as well as the
usual char->wxChar and _T().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 10:34:24 +00:00
Ove Kaaven
6d9bd0682c
char->wxChar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 10:31:53 +00:00
Ove Kaaven
c1160779dc
Fixed glibc2.0 check (for that glibc2.0 workaround, which gives glibc2.1
...
warnings instead, since __ctype_tolower/upper is not declared there)
Added declarations for wxFprintf and wxVfprintf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 10:21:42 +00:00
Vadim Zeitlin
fe99e2858a
wxTempFile now respects umask when creating new files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 09:01:10 +00:00
Vadim Zeitlin
0fea8a59b1
an attempt to fix glibc2.0 stupidness
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 08:56:14 +00:00
Vadim Zeitlin
c1ac1056b0
apparently this should fix some Borland problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 08:31:15 +00:00
Vadim Zeitlin
f33396842a
some typos in docs and code corrected (thanks Janos)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 08:14:19 +00:00
Ove Kaaven
53388a784b
Implemented wxPrintf.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 08:08:04 +00:00
Ove Kaaven
7c337432f0
Added wxPrintf declaration.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 08:03:36 +00:00
Vadim Zeitlin
8801832d0a
Pending() and Dispatch() implemented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 08:00:44 +00:00
Ove Kaaven
e296ac9f3d
Another one bites the dust.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 07:41:45 +00:00
Ove Kaaven
cf2f341a0a
Unicode-mode typos in string.cpp (where did they suddenly come from?)
...
More Unicode-build conversion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 07:38:23 +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
a982ddd202
wxAtof independent of wxNEED_WX_STDLIB_H, used by Visual C++ in Unicode mode,
...
defined to atof in non-Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 06:53:41 +00:00
Ove Kaaven
b7a5d6ca90
wxAtof implementation independent of (the rest of) wxNEED_WX_STDLIB_H
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 06:48:04 +00:00
Vadim Zeitlin
66f32eca4c
wxAtof() fixed (?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 23:21:19 +00:00
Robert Roebling
829e3e8d3d
wxDropTarget starts to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:56:14 +00:00
Ove Kaaven
6b769f3d1f
BIG glitch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:43: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
509201463d
It now compiles all these files without warnings in Unicode mode.
...
(at least It Works For Me(tm))
I will respond to any complaints when I wake up for another workday
(any complaints will prove whether Vadim was right in that it's bound
to break things)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:31:12 +00:00
Ove Kaaven
9d2f3c71d8
Oh well, I'll just stuff in the rest of the Unicode changes I have made
...
so far here. You may start complaining now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:20:19 +00:00
Ove Kaaven
9e3d3318dc
Uses Unicode strings. Now we've got a __TFILE__ macro, too (I think?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:17:06 +00:00
Ove Kaaven
e36e6f95aa
Unicode support. Uses wxWCharBuffer in Unicode build. Compiles, at least.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:03:14 +00:00
Ove Kaaven
7b36d72062
Unicode support. The _() macro is made to imply _T() (would be boring to
...
type _(_T("text")), I think). That means you have to use wxGetString()
directly if you need to look up from a string variable instead of a literal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 21:58:42 +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
Ove Kaaven
f3dbd876fc
Added wxchar.cpp/.obj
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 20:44:57 +00:00
Ove Kaaven
f93d01be83
Added allocation constructor (makes it easy to convert right into a buffer
...
allocated to size by this class), copy constructor (egcs does not like
const wxCharBuffer& mb_str() { return wxCharBuffer(...); }, so it HAS to be
copiable), and assignment constructor (so it can be stored to a variable
for efficiency, instead of being converted every time the string is needed).
(The copy and assignment operator wipes the source, so the buffer is
essentially passed on to the new instance without being freed by the old.)
wcsdup() is not declared in glibc by default, so use malloc() instead.
Added some 'convenience' macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 20:10:56 +00:00
Karsten Ballüder
9e55588fe3
Countless (some half-finished) optimisations.
...
Started implementing selections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 20:06:46 +00:00
Ove Kaaven
e97a90f0a8
For non-Unicode added #include <ctype.h> and <string.h> to avoid some missing
...
declaration warnings, added wxAtof, changed wxStrtok declaration, added
conditional declarations for functions in wxchar.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 20:01:51 +00:00
Ove Kaaven
c9e089e9f4
Added wxchar.cpp, which contains:
...
wxMB2WC, wxWC2MB (wrappers for mbstowcs and wcstombs)
wxStrdup and thread-safe wxStrtok, for when libc does not supply it
wxSetlocale, wxSprintf, wxVsprintf, wxAtof, wxAtoi, wxAtol, wxGetenv,
wxSystem: Unicode-supporting wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 19:56:38 +00:00
Robert Roebling
ef47f9b3fd
Fixing a few fixes..
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 14:41:43 +00:00
Vadim Zeitlin
ea18eed94c
wxUSE_THREADS typo corrected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 14:02:23 +00:00
Robert Roebling
96d5ab4d29
added moving subwindow when scrolling (tested in image.cpp )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 13:47:34 +00:00
Václav Slavík
99cc0158e2
...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 13:44:52 +00:00
Robert Roebling
ca35e608cd
clipboards tests
...
WM hint corrections (guesses)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 13:18:04 +00:00
Vadim Zeitlin
c386222cd3
fixed compilation under Motif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 11:51:36 +00:00
Vadim Zeitlin
5f939e78ef
HitTest test added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 11:48:06 +00:00
Vadim Zeitlin
a0fdaceeb1
GTK 1.0.x compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 11:39:51 +00:00
Vadim Zeitlin
14971e5b9f
auto buffer class(es)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 09:57:22 +00:00
Robin Dunn
e12f91dc2b
Added $(WAITFLAG) so other shells can use appropriate flag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 01:30:01 +00:00