]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
25 years agoUnicode fix.
Ove Kaaven [Thu, 22 Apr 1999 22:19:28 +0000 (22:19 +0000)] 
Unicode fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoUnicode fix.
Ove Kaaven [Thu, 22 Apr 1999 21:54:38 +0000 (21:54 +0000)] 
Unicode fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoAdded operator[] (read-only of course). Borland C++ 4.52 wasn't smart
Ove Kaaven [Thu, 22 Apr 1999 00:31:06 +0000 (00:31 +0000)] 
Added operator[] (read-only of course). Borland C++ 4.52 wasn't smart
enough to automatically convert to a pointer for array indexing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoUnicode fixes.
Ove Kaaven [Wed, 21 Apr 1999 21:46:02 +0000 (21:46 +0000)] 
Unicode fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago fixed bitmap constructor for monochrome bitmaps
Robert Roebling [Wed, 21 Apr 1999 12:35:02 +0000 (12:35 +0000)] 
  fixed bitmap constructor for monochrome bitmaps

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago script update
Robert Roebling [Tue, 20 Apr 1999 19:23:03 +0000 (19:23 +0000)] 
  script update

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoAnother "char" occurrence
Ove Kaaven [Tue, 20 Apr 1999 14:23:27 +0000 (14:23 +0000)] 
Another "char" occurrence

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoCan't figure out why Borland was excluded from DRAG and DROP... anyways, its changed
Brian Macy [Tue, 20 Apr 1999 13:52:19 +0000 (13:52 +0000)] 
Can't figure out why Borland was excluded from DRAG and DROP... anyways, its changed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoSome Unicode fixes (mostly for Borland's pickiness regarding _T(), which
Ove Kaaven [Tue, 20 Apr 1999 11:08:02 +0000 (11:08 +0000)] 
Some Unicode fixes (mostly for Borland's pickiness regarding _T(), which
might be considered a good thing anyway).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoMoved that HAVE_WCSTR_H here.
Ove Kaaven [Tue, 20 Apr 1999 11:05:44 +0000 (11:05 +0000)] 
Moved that HAVE_WCSTR_H here.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago...and my Linux doesn't have wcstr.h. (Including of those files should be
Ove Kaaven [Tue, 20 Apr 1999 11:05:16 +0000 (11:05 +0000)] 
...and my Linux doesn't have wcstr.h. (Including of those files should be
performed in wxchar.h now anyway)
Also encapsulated wxWCharBuffer in #if wxUSE_WCHAR_T

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoSome further changes. Now also sets a wsUSE_WCHAR_T that's set to 0 for
Ove Kaaven [Tue, 20 Apr 1999 11:00:06 +0000 (11:00 +0000)] 
Some further changes. Now also sets a wsUSE_WCHAR_T that's set to 0 for
MSVC++ 1.5, and 1 otherwise. You may define it to 0 for other compilers
that don't have wchar_t either.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago two people fixing the same thing...
Robert Roebling [Tue, 20 Apr 1999 10:49:32 +0000 (10:49 +0000)] 
  two people fixing the same thing...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agotypos fixed
Karsten Ballüder [Tue, 20 Apr 1999 10:30:53 +0000 (10:30 +0000)] 
typos fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoTests for wchar.h/wcstr.h - PLEASE DO NOT GUESS BUT USE CONFIGURE TO TEST!!!
Karsten Ballüder [Tue, 20 Apr 1999 10:26:43 +0000 (10:26 +0000)] 
Tests for wchar.h/wcstr.h - PLEASE DO NOT GUESS BUT USE CONFIGURE TO TEST!!!

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoI think I fixed the wxGenericPrintSetupDialog but PLEASE CHECK
Karsten Ballüder [Tue, 20 Apr 1999 10:25:56 +0000 (10:25 +0000)] 
I think I fixed the wxGenericPrintSetupDialog but PLEASE CHECK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago little doc updates
Robert Roebling [Tue, 20 Apr 1999 10:09:15 +0000 (10:09 +0000)] 
  little doc updates
  removed GTK 1.0 Drag'n'Drop
  added (const char*) constructor to wxDataFormat
  added -I pointing to embedded /png and /jpeg dirs
  corrected frame/dialog resizing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoFixed wxPostScript printing problem (used wrong constructor, and the right
Julian Smart [Mon, 19 Apr 1999 20:43:41 +0000 (20:43 +0000)] 
Fixed wxPostScript printing problem (used wrong constructor, and the right
one was wrong anyway...) Fixed include dir ordering in wxMotif makefiles (wrong version of zlib.h picked up) and added wxchar.cpp to Motif makefile. Changed buffer.h since there's no wchar.h on my system.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoa wxCHECK added
Vadim Zeitlin [Mon, 19 Apr 1999 20:27:40 +0000 (20:27 +0000)] 
a wxCHECK added

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoMust include wchar.h in non-Unicode build too, since buffer.h depends on it
Ove Kaaven [Mon, 19 Apr 1999 19:54:58 +0000 (19:54 +0000)] 
Must include wchar.h in non-Unicode build too, since buffer.h depends on it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoHmm, seems Borland also doesn't want wchar_t in fopen() and friends
Ove Kaaven [Mon, 19 Apr 1999 18:27:51 +0000 (18:27 +0000)] 
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

25 years agoMore wxChar conversion
Ove Kaaven [Mon, 19 Apr 1999 18:23:09 +0000 (18:23 +0000)] 
More wxChar conversion

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoThose pesky globals declared all over again
Ove Kaaven [Mon, 19 Apr 1999 18:04:57 +0000 (18:04 +0000)] 
Those pesky globals declared all over again

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoUnicode conversion for MSW, or something
Ove Kaaven [Mon, 19 Apr 1999 18:02:45 +0000 (18:02 +0000)] 
Unicode conversion for MSW, or something

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoHelps Borland compile further in Unicode mode.
Ove Kaaven [Mon, 19 Apr 1999 17:48:28 +0000 (17:48 +0000)] 
Helps Borland compile further in Unicode mode.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoSome Unicode changes.
Ove Kaaven [Mon, 19 Apr 1999 17:47:19 +0000 (17:47 +0000)] 
Some Unicode changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoSOCKLEN_T expanded to socklen_t if supported, neede by ALPHA (yes, it's back!)
Karsten Ballüder [Mon, 19 Apr 1999 16:31:11 +0000 (16:31 +0000)] 
SOCKLEN_T expanded to socklen_t if supported, neede by ALPHA (yes, it's back!)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoForgot an additional prototype.
Ove Kaaven [Mon, 19 Apr 1999 16:11:22 +0000 (16:11 +0000)] 
Forgot an additional prototype.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoAttempts to make this wchar_t business compile with Borland C++ 4.52.
Ove Kaaven [Mon, 19 Apr 1999 16:07:51 +0000 (16:07 +0000)] 
Attempts to make this wchar_t business compile with Borland C++ 4.52.
(While I was at it, I made the macro usage even more confus...
I mean portable... than before.)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago JPEG fixes
Robert Roebling [Mon, 19 Apr 1999 15:13:31 +0000 (15:13 +0000)] 
  JPEG fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agowxTextCtrl::DiscardEdits doesn't empty the text ctrl
Vadim Zeitlin [Mon, 19 Apr 1999 12:51:51 +0000 (12:51 +0000)] 
wxTextCtrl::DiscardEdits doesn't empty the text ctrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoFixed wxexpr.cpp bug (quote wasn't being removed in new MB code);
Julian Smart [Mon, 19 Apr 1999 10:14:51 +0000 (10:14 +0000)] 
Fixed wxexpr.cpp bug (quote wasn't being removed in new MB code);
fixed one of the remaining memory leaks (wxMSW, wxDefaultValidator)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agofix for the fix for the umask fix in wxTempFile
Vadim Zeitlin [Sun, 18 Apr 1999 21:22:40 +0000 (21:22 +0000)] 
fix for the fix for the umask fix in wxTempFile

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoglibc2.1 chokes on null input to wcstombs()
Ove Kaaven [Sun, 18 Apr 1999 10:48:43 +0000 (10:48 +0000)] 
glibc2.1 chokes on null input to wcstombs()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago...for both buffer types...
Ove Kaaven [Sun, 18 Apr 1999 00:20:20 +0000 (00:20 +0000)] 
...for both buffer types...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoOops. The typecasting was interpreted as a constructor call...
Ove Kaaven [Sun, 18 Apr 1999 00:18:39 +0000 (00:18 +0000)] 
Oops. The typecasting was interpreted as a constructor call...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoDefer retrieval of LANG env var, too. No memory management
Ove Kaaven [Sat, 17 Apr 1999 23:01:48 +0000 (23:01 +0000)] 
Defer retrieval of LANG env var, too. No memory management
or conversion is now performed in wxCSConv constructor.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoNew private SetName method in wxCSConv...
Ove Kaaven [Sat, 17 Apr 1999 22:51:21 +0000 (22:51 +0000)] 
New private SetName method in wxCSConv...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agotooltips in controls in dialogs actually work now
Vadim Zeitlin [Sat, 17 Apr 1999 20:30:28 +0000 (20:30 +0000)] 
tooltips in controls in dialogs actually work now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoradiobox now sends notification messages when the selection is changed from
Vadim Zeitlin [Sat, 17 Apr 1999 20:29:40 +0000 (20:29 +0000)] 
radiobox now sends notification messages when the selection is changed from
keyboard, but doesn't send them when the selection does not change (when the
already selected button is clicked with the mouse)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoEnough wxBitmapDataObject implementation to work with wxClipboard
Brian Macy [Sat, 17 Apr 1999 19:46:57 +0000 (19:46 +0000)] 
Enough wxBitmapDataObject implementation to work with wxClipboard

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago Added a bit of libJPEG 6.0b
Robert Roebling [Sat, 17 Apr 1999 17:54:07 +0000 (17:54 +0000)] 
  Added a bit of libJPEG 6.0b

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoUnicodified list of color strings.
Ove Kaaven [Sat, 17 Apr 1999 13:55:56 +0000 (13:55 +0000)] 
Unicodified list of color strings.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago added missing files
Robert Roebling [Sat, 17 Apr 1999 13:46:46 +0000 (13:46 +0000)] 
  added missing files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago libPNG 1.0.3
Robert Roebling [Sat, 17 Apr 1999 13:43:15 +0000 (13:43 +0000)] 
  libPNG 1.0.3

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoAdapted those asserts and debug messages for Unicode.
Ove Kaaven [Sat, 17 Apr 1999 13:21:38 +0000 (13:21 +0000)] 
Adapted those asserts and debug messages for Unicode.
All of wxGTK now compiles, and for my app, also links in Unicode mode.
(Too bad it just segfaults though, guess it's debugging time...
if only gdb wouldn't segfault even when just loading the core file)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoUnicodified wxEndsWithPathSeparator
Ove Kaaven [Sat, 17 Apr 1999 13:12:39 +0000 (13:12 +0000)] 
Unicodified wxEndsWithPathSeparator

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoFixed typo
Ove Kaaven [Sat, 17 Apr 1999 12:21:58 +0000 (12:21 +0000)] 
Fixed typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoUnicodified a few routines.
Ove Kaaven [Sat, 17 Apr 1999 12:20:43 +0000 (12:20 +0000)] 
Unicodified a few routines.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoUnicodified wxSplitPath
Ove Kaaven [Fri, 16 Apr 1999 23:06:39 +0000 (23:06 +0000)] 
Unicodified wxSplitPath

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoHad changed the prototype of wxOnAssert after the discovery of __TFILE__
Ove Kaaven [Fri, 16 Apr 1999 22:59:58 +0000 (22:59 +0000)] 
Had changed the prototype of wxOnAssert after the discovery of __TFILE__
but had forgotten to change the implementation too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agobug in handling escaped chars in entries/group names corrected
Vadim Zeitlin [Fri, 16 Apr 1999 21:47:34 +0000 (21:47 +0000)] 
bug in handling escaped chars in entries/group names corrected

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoMade return a const reference
Brian Macy [Fri, 16 Apr 1999 19:05:11 +0000 (19:05 +0000)] 
Made return a const reference

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoattempted Borland C++ compilation fix
Vadim Zeitlin [Fri, 16 Apr 1999 18:35:39 +0000 (18:35 +0000)] 
attempted Borland C++ compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agolog unknown log levels too
Vadim Zeitlin [Fri, 16 Apr 1999 18:35:22 +0000 (18:35 +0000)] 
log unknown log levels too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoChanged some parameters to be const references
Brian Macy [Fri, 16 Apr 1999 18:27:29 +0000 (18:27 +0000)] 
Changed some parameters to be const references

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agowxLog shouldn't complain about log levels it doesn't know about
Vadim Zeitlin [Fri, 16 Apr 1999 17:51:31 +0000 (17:51 +0000)] 
wxLog shouldn't complain about log levels it doesn't know about

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoconst-ness warnings in non-Unicode again.
Ove Kaaven [Fri, 16 Apr 1999 17:26:23 +0000 (17:26 +0000)] 
const-ness warnings in non-Unicode again.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoHm, better make the operators inline.
Ove Kaaven [Fri, 16 Apr 1999 16:41:05 +0000 (16:41 +0000)] 
Hm, better make the operators inline.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoAll files compile in Unicode mode, but I have only converted things near
Ove Kaaven [Fri, 16 Apr 1999 14:19:32 +0000 (14:19 +0000)] 
All files compile in Unicode mode, but I have only converted things near
points of compiler warnings/errors, they have not been exhaustively
reviewed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoAdded a comment.
Ove Kaaven [Fri, 16 Apr 1999 14:15:40 +0000 (14:15 +0000)] 
Added a comment.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoSome Unicode conversion.
Ove Kaaven [Fri, 16 Apr 1999 14:14:47 +0000 (14:14 +0000)] 
Some Unicode conversion.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agodon't log empty status messages in wxLogWindow
Vadim Zeitlin [Fri, 16 Apr 1999 14:05:33 +0000 (14:05 +0000)] 
don't log empty status messages in wxLogWindow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoNeeded the reverse operator+ too...
Ove Kaaven [Fri, 16 Apr 1999 12:49:47 +0000 (12:49 +0000)] 
Needed the reverse operator+ too...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agooperator+(const wxString&, const wx[W]CharBuffer)
Ove Kaaven [Fri, 16 Apr 1999 12:24:26 +0000 (12:24 +0000)] 
operator+(const wxString&, const wx[W]CharBuffer)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agowxGetUserHome() may return const val.
Ove Kaaven [Fri, 16 Apr 1999 11:30:09 +0000 (11:30 +0000)] 
wxGetUserHome() may return const val.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agowxGetUserHome() returns a const value in Unicode mode.
Ove Kaaven [Fri, 16 Apr 1999 11:20:59 +0000 (11:20 +0000)] 
wxGetUserHome() returns a const value in Unicode mode.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoCompiles in Unicode mode.
Ove Kaaven [Fri, 16 Apr 1999 11:19:50 +0000 (11:19 +0000)] 
Compiles in Unicode mode.
OK, I've still got generic/ left to convert...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agowxGetUserHome() returns "const wxMB2WXbuf" for Unix in Unicode build.
Ove Kaaven [Fri, 16 Apr 1999 11:18:46 +0000 (11:18 +0000)] 
wxGetUserHome() returns "const wxMB2WXbuf" for Unix in Unicode build.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agowxLoadCharacterSets() now appears to work (was a bit slow, but since it's
Ove Kaaven [Fri, 16 Apr 1999 09:58:38 +0000 (09:58 +0000)] 
wxLoadCharacterSets() now appears to work (was a bit slow, but since it's
not called until someone actually uses wxConv_local, it should not affect
too many).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago wxImage now uses GTK 1.2's fast rendering code if possible
Robert Roebling [Fri, 16 Apr 1999 09:52:32 +0000 (09:52 +0000)] 
  wxImage now uses GTK 1.2's fast rendering code if possible

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago removed some test code
Robert Roebling [Thu, 15 Apr 1999 19:29:04 +0000 (19:29 +0000)] 
  removed some test code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agolog messages given during program initialization are not discarded any more
Vadim Zeitlin [Thu, 15 Apr 1999 19:16:19 +0000 (19:16 +0000)] 
log messages given during program initialization are not discarded any more

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago small mods to tree ctrl
Robert Roebling [Thu, 15 Apr 1999 19:10:29 +0000 (19:10 +0000)] 
  small mods to tree ctrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoDefer loading of character sets, and some anti-crash checks related to
Ove Kaaven [Thu, 15 Apr 1999 18:09:48 +0000 (18:09 +0000)] 
Defer loading of character sets, and some anti-crash checks related to
missing or incomplete LANG env var.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoSlightly better style?
Ove Kaaven [Thu, 15 Apr 1999 18:07:30 +0000 (18:07 +0000)] 
Slightly better style?

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoRight-o, wxConv_local does cause some weird crashes, but things
Ove Kaaven [Thu, 15 Apr 1999 16:02:13 +0000 (16:02 +0000)] 
Right-o, wxConv_local does cause some weird crashes, but things
appears to work without right now, so I #if-ed it out for now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago(ugh, I need to get a faster computer)
Ove Kaaven [Thu, 15 Apr 1999 15:38:43 +0000 (15:38 +0000)] 
(ugh, I need to get a faster computer)
Applied the more beautiful compilation fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoAnother inline constructor to facilitate Unicode conversion without #if-ing...
Ove Kaaven [Thu, 15 Apr 1999 15:13:26 +0000 (15:13 +0000)] 
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

25 years agoCompilation problem in non-Unicode mode. (Will fix in a more beautiful way later)
Ove Kaaven [Thu, 15 Apr 1999 14:54:16 +0000 (14:54 +0000)] 
Compilation problem in non-Unicode mode. (Will fix in a more beautiful way later)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoCompiler warning in non-Unicode mode fixed.
Ove Kaaven [Thu, 15 Apr 1999 14:51:31 +0000 (14:51 +0000)] 
Compiler warning in non-Unicode mode fixed.
(No, does not fix a real problem, the library is still compiling here)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoAdded a wxYield() warning to wxExecute() entry.
Karsten Ballüder [Thu, 15 Apr 1999 14:40:41 +0000 (14:40 +0000)] 
Added a wxYield() warning to wxExecute() entry.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoOK, while I wait for the non-Unicode build to compile, I can report
Ove Kaaven [Thu, 15 Apr 1999 14:36:04 +0000 (14:36 +0000)] 
OK, while I wait for the non-Unicode build to compile, I can report
that now all files in gtk/ compiles in Unicode mode. unix/ is still
missing, but that probably wouldn't take too long.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoAdded wxEnableTopLevelWindows(bool enable) for use by wxSafeYield().
Karsten Ballüder [Thu, 15 Apr 1999 14:18:12 +0000 (14:18 +0000)] 
Added wxEnableTopLevelWindows(bool enable) for use by wxSafeYield().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoworkaround for mingw32 div() bug
Vadim Zeitlin [Thu, 15 Apr 1999 14:16:14 +0000 (14:16 +0000)] 
workaround for mingw32 div() bug

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoGTK 1.0.x compilation fix
Vadim Zeitlin [Thu, 15 Apr 1999 13:53:00 +0000 (13:53 +0000)] 
GTK 1.0.x compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoGTK 1.0.x compilation fix
Vadim Zeitlin [Thu, 15 Apr 1999 13:47:16 +0000 (13:47 +0000)] 
GTK 1.0.x compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoA couple more.
Ove Kaaven [Thu, 15 Apr 1999 13:24:06 +0000 (13:24 +0000)] 
A couple more.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoSo far so good. These now compiles in Unicode mode.
Ove Kaaven [Thu, 15 Apr 1999 13:02:22 +0000 (13:02 +0000)] 
So far so good. These now compiles in Unicode mode.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago added update UI event code to toolbar, could
Robert Roebling [Thu, 15 Apr 1999 12:08:59 +0000 (12:08 +0000)] 
  added update UI event code to toolbar, could
   someone test this

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoImplemented wxArrayString::Shrink() and stuff.
Ove Kaaven [Thu, 15 Apr 1999 10:11:31 +0000 (10:11 +0000)] 
Implemented wxArrayString::Shrink() and stuff.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years ago egcs compilation fix
Robert Roebling [Thu, 15 Apr 1999 10:05:22 +0000 (10:05 +0000)] 
  egcs compilation fix
  toolbars give away their space when floating (as well)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoOK, enough for today. To be continued tomorrow...
Ove Kaaven [Wed, 14 Apr 1999 22:47:16 +0000 (22:47 +0000)] 
OK, enough for today. To be continued tomorrow...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoThese at least compiles in Unicode mode...
Ove Kaaven [Wed, 14 Apr 1999 21:53:47 +0000 (21:53 +0000)] 
These at least compiles in Unicode mode...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agochar -> wxChar
Ove Kaaven [Wed, 14 Apr 1999 21:52:38 +0000 (21:52 +0000)] 
char -> wxChar

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoThis seems to be compiling.
Ove Kaaven [Wed, 14 Apr 1999 20:23:46 +0000 (20:23 +0000)] 
This seems to be compiling.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoIf you look at the conversion and character set code at the bottom of
Ove Kaaven [Wed, 14 Apr 1999 19:59:03 +0000 (19:59 +0000)] 
If you look at the conversion and character set code at the bottom of
string.cpp (and the #includes), maybe someone will think that it should
be moved into a separate file. (I'd agree but not bother yet.)
(And someone added literals without _T() in imaggif.cpp again)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoMore helpful Unicode stuff.
Ove Kaaven [Wed, 14 Apr 1999 19:56:54 +0000 (19:56 +0000)] 
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

25 years ago wxGTK's built-in dockable menu now give their
Robert Roebling [Wed, 14 Apr 1999 16:56:36 +0000 (16:56 +0000)] 
  wxGTK's built-in dockable menu now give their
    space away when floating

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 years agoHitTest() now works when the ctrl is scrolled too
Vadim Zeitlin [Wed, 14 Apr 1999 14:58:17 +0000 (14:58 +0000)] 
HitTest() now works when the ctrl is scrolled too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775