]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
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

25 years ago mini frame rewrite (titlebar still missing)
Robert Roebling [Wed, 14 Apr 1999 14:55:56 +0000 (14:55 +0000)] 
  mini frame rewrite (titlebar still missing)

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

25 years agowxConv classes and instances, including wxConv_gdk.
Ove Kaaven [Wed, 14 Apr 1999 14:37:54 +0000 (14:37 +0000)] 
wxConv classes and instances, including wxConv_gdk.

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

25 years agowxMBConv derived classes and instances.
Ove Kaaven [Wed, 14 Apr 1999 14:36:58 +0000 (14:36 +0000)] 
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

25 years ago added wxCB_READONLY
Robert Roebling [Wed, 14 Apr 1999 12:58:23 +0000 (12:58 +0000)] 
  added wxCB_READONLY
  fixed MDI bug
  fixed GTK 1.2.0 compilation in wxMenu::something

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

25 years agoAnd here
Ove Kaaven [Wed, 14 Apr 1999 11:56:36 +0000 (11:56 +0000)] 
And here

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

25 years agoDeclared here too
Ove Kaaven [Wed, 14 Apr 1999 11:56:15 +0000 (11:56 +0000)] 
Declared here too

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

25 years agoThe char->wxChar in window.h cascades through some other header files.
Ove Kaaven [Wed, 14 Apr 1999 11:55:35 +0000 (11:55 +0000)] 
The char->wxChar in window.h cascades through some other header files.
Someone give a hint why you'd declare the same extern global vars
separately in a ton of header files instead of just once in a header
file included by all the others?

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

25 years agochar -> wxChar. (Vadim, you can probably just go ahead messing with
Ove Kaaven [Wed, 14 Apr 1999 09:37:21 +0000 (09:37 +0000)] 
char -> wxChar. (Vadim, you can probably just go ahead messing with
this file now)

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

25 years agofixed transparency
Václav Slavík [Tue, 13 Apr 1999 22:29:58 +0000 (22:29 +0000)] 
fixed transparency

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

25 years agocompilation fix
Vadim Zeitlin [Tue, 13 Apr 1999 22:24:24 +0000 (22:24 +0000)] 
compilation fix

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

25 years ago Drag'n'Drop works in a basic form
Robert Roebling [Tue, 13 Apr 1999 20:22:32 +0000 (20:22 +0000)] 
  Drag'n'Drop works in a basic form

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

25 years agoThis is the way to go (well, close enough).
Ove Kaaven [Tue, 13 Apr 1999 17:55:13 +0000 (17:55 +0000)] 
This is the way to go (well, close enough).
Unicodified lots of asserts.

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

25 years agoBy this commit, I guess I'm announcing intent to add Unicode support to wxGTK.
Ove Kaaven [Tue, 13 Apr 1999 17:45:04 +0000 (17:45 +0000)] 
By this commit, I guess I'm announcing intent to add Unicode support to wxGTK.
"Somebody stop me!" - The Mask

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

25 years ago Drag works.
Robert Roebling [Tue, 13 Apr 1999 16:46:55 +0000 (16:46 +0000)] 
  Drag works.
  Drop works,
  Drag'n'Drop doesn't work.

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

25 years agoGot some compiler warnings in non-Unicode build. Fixed them.
Ove Kaaven [Tue, 13 Apr 1999 16:22:43 +0000 (16:22 +0000)] 
Got some compiler warnings in non-Unicode build. Fixed them.

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

25 years agoSomeone must have committed some ASCII string literals while I wasn't looking.
Ove Kaaven [Tue, 13 Apr 1999 16:15:04 +0000 (16:15 +0000)] 
Someone must have committed some ASCII string literals while I wasn't looking.

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

25 years agoUnicode conversion.
Ove Kaaven [Tue, 13 Apr 1999 15:23:06 +0000 (15:23 +0000)] 
Unicode conversion.
All files in the common/ subdirectory now compiles in Unicode mode.

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

25 years agoUnicode conversion.
Ove Kaaven [Tue, 13 Apr 1999 15:20:36 +0000 (15:20 +0000)] 
Unicode conversion.

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

25 years agoNow this one also compiles in Unicode mode.
Ove Kaaven [Tue, 13 Apr 1999 14:36:47 +0000 (14:36 +0000)] 
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

25 years agoAdded variable cursor to highlight embedded user data.
Karsten Ballüder [Tue, 13 Apr 1999 13:45:59 +0000 (13:45 +0000)] 
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

25 years agoUnicode interface (the communication itself is still in ASCII, I hope).
Ove Kaaven [Tue, 13 Apr 1999 12:44:37 +0000 (12:44 +0000)] 
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

25 years agoUnicode support.
Ove Kaaven [Tue, 13 Apr 1999 12:40:33 +0000 (12:40 +0000)] 
Unicode support.

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

25 years agoFixed a typo. Added sloppy implementation of wxSscanf (converts source and format,
Ove Kaaven [Tue, 13 Apr 1999 12:29:59 +0000 (12:29 +0000)] 
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

25 years agoAdd wxSscanf (used in ftp.cpp to parse returned address)
Ove Kaaven [Tue, 13 Apr 1999 12:19:42 +0000 (12:19 +0000)] 
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

25 years agoThe prevalent wide characters.
Ove Kaaven [Tue, 13 Apr 1999 11:44:33 +0000 (11:44 +0000)] 
The prevalent wide characters.

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

25 years agoUnicode. You know the drill.
Ove Kaaven [Tue, 13 Apr 1999 11:43:03 +0000 (11:43 +0000)] 
Unicode. You know the drill.

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

25 years agoGetViews() documented
Vadim Zeitlin [Tue, 13 Apr 1999 11:26:25 +0000 (11:26 +0000)] 
GetViews() documented

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

25 years agoMore Unicode stuff. Implemented wxFprintf.
Ove Kaaven [Tue, 13 Apr 1999 10:34:24 +0000 (10:34 +0000)] 
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

25 years agochar->wxChar
Ove Kaaven [Tue, 13 Apr 1999 10:31:53 +0000 (10:31 +0000)] 
char->wxChar

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

25 years agoFixed glibc2.0 check (for that glibc2.0 workaround, which gives glibc2.1
Ove Kaaven [Tue, 13 Apr 1999 10:21:42 +0000 (10:21 +0000)] 
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

25 years agowxTempFile now respects umask when creating new files
Vadim Zeitlin [Tue, 13 Apr 1999 09:01:10 +0000 (09:01 +0000)] 
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

25 years agoan attempt to fix glibc2.0 stupidness
Vadim Zeitlin [Tue, 13 Apr 1999 08:56:14 +0000 (08:56 +0000)] 
an attempt to fix glibc2.0 stupidness

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

25 years agoapparently this should fix some Borland problem
Vadim Zeitlin [Tue, 13 Apr 1999 08:31:15 +0000 (08:31 +0000)] 
apparently this should fix some Borland problem

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

25 years agosome typos in docs and code corrected (thanks Janos)
Vadim Zeitlin [Tue, 13 Apr 1999 08:14:19 +0000 (08:14 +0000)] 
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

25 years agoImplemented wxPrintf.
Ove Kaaven [Tue, 13 Apr 1999 08:08:04 +0000 (08:08 +0000)] 
Implemented wxPrintf.

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

25 years agoAdded wxPrintf declaration.
Ove Kaaven [Tue, 13 Apr 1999 08:03:36 +0000 (08:03 +0000)] 
Added wxPrintf declaration.

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

25 years agoPending() and Dispatch() implemented
Vadim Zeitlin [Tue, 13 Apr 1999 08:00:44 +0000 (08:00 +0000)] 
Pending() and Dispatch() implemented

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

25 years agoAnother one bites the dust.
Ove Kaaven [Tue, 13 Apr 1999 07:41:45 +0000 (07:41 +0000)] 
Another one bites the dust.

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

25 years agoUnicode-mode typos in string.cpp (where did they suddenly come from?)
Ove Kaaven [Tue, 13 Apr 1999 07:38:23 +0000 (07:38 +0000)] 
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

25 years agowxString assignment operator from wx[W]CharBuffer.
Ove Kaaven [Tue, 13 Apr 1999 07:19:59 +0000 (07:19 +0000)] 
wxString assignment operator from wx[W]CharBuffer.

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

25 years agowxAtof independent of wxNEED_WX_STDLIB_H, used by Visual C++ in Unicode mode,
Ove Kaaven [Tue, 13 Apr 1999 06:53:41 +0000 (06:53 +0000)] 
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

25 years agowxAtof implementation independent of (the rest of) wxNEED_WX_STDLIB_H
Ove Kaaven [Tue, 13 Apr 1999 06:48:04 +0000 (06:48 +0000)] 
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

25 years agowxAtof() fixed (?)
Vadim Zeitlin [Mon, 12 Apr 1999 23:21:19 +0000 (23:21 +0000)] 
wxAtof() fixed (?)

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

25 years ago wxDropTarget starts to work
Robert Roebling [Mon, 12 Apr 1999 22:56:14 +0000 (22:56 +0000)] 
  wxDropTarget starts to work

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

25 years agoBIG glitch.
Ove Kaaven [Mon, 12 Apr 1999 22:43:59 +0000 (22:43 +0000)] 
BIG glitch.

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

25 years agoSmall glitch.
Ove Kaaven [Mon, 12 Apr 1999 22:41:40 +0000 (22:41 +0000)] 
Small glitch.

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

25 years agoIt now compiles all these files without warnings in Unicode mode.
Ove Kaaven [Mon, 12 Apr 1999 22:31:12 +0000 (22:31 +0000)] 
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

25 years agoOh well, I'll just stuff in the rest of the Unicode changes I have made
Ove Kaaven [Mon, 12 Apr 1999 22:20:19 +0000 (22:20 +0000)] 
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

25 years agoUses Unicode strings. Now we've got a __TFILE__ macro, too (I think?)
Ove Kaaven [Mon, 12 Apr 1999 22:17:06 +0000 (22:17 +0000)] 
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

25 years agoUnicode support. Uses wxWCharBuffer in Unicode build. Compiles, at least.
Ove Kaaven [Mon, 12 Apr 1999 22:03:14 +0000 (22:03 +0000)] 
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

25 years agoUnicode support. The _() macro is made to imply _T() (would be boring to
Ove Kaaven [Mon, 12 Apr 1999 21:58:42 +0000 (21:58 +0000)] 
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

25 years agoUnicode support for wxString (wxchar.cpp won't compile without it, so I
Ove Kaaven [Mon, 12 Apr 1999 21:14:46 +0000 (21:14 +0000)] 
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

25 years agoAdded wxchar.cpp/.obj
Ove Kaaven [Mon, 12 Apr 1999 20:44:57 +0000 (20:44 +0000)] 
Added wxchar.cpp/.obj

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

25 years agoAdded allocation constructor (makes it easy to convert right into a buffer
Ove Kaaven [Mon, 12 Apr 1999 20:10:56 +0000 (20:10 +0000)] 
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

25 years agoCountless (some half-finished) optimisations.
Karsten Ballüder [Mon, 12 Apr 1999 20:06:46 +0000 (20:06 +0000)] 
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

25 years agoFor non-Unicode added #include <ctype.h> and <string.h> to avoid some missing
Ove Kaaven [Mon, 12 Apr 1999 20:01:51 +0000 (20:01 +0000)] 
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

25 years agoAdded wxchar.cpp, which contains:
Ove Kaaven [Mon, 12 Apr 1999 19:56:38 +0000 (19:56 +0000)] 
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

25 years ago Fixing a few fixes..
Robert Roebling [Mon, 12 Apr 1999 14:41:43 +0000 (14:41 +0000)] 
  Fixing a few fixes..

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

25 years agowxUSE_THREADS typo corrected
Vadim Zeitlin [Mon, 12 Apr 1999 14:02:23 +0000 (14:02 +0000)] 
wxUSE_THREADS typo corrected

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

25 years ago added moving subwindow when scrolling (tested in image.cpp )
Robert Roebling [Mon, 12 Apr 1999 13:47:34 +0000 (13:47 +0000)] 
  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

25 years ago...
Václav Slavík [Mon, 12 Apr 1999 13:44:52 +0000 (13:44 +0000)] 
...

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

25 years ago clipboards tests
Robert Roebling [Mon, 12 Apr 1999 13:18:04 +0000 (13:18 +0000)] 
  clipboards tests
  WM hint corrections (guesses)

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

25 years agofixed compilation under Motif
Vadim Zeitlin [Mon, 12 Apr 1999 11:51:36 +0000 (11:51 +0000)] 
fixed compilation under Motif

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

25 years agoHitTest test added
Vadim Zeitlin [Mon, 12 Apr 1999 11:48:06 +0000 (11:48 +0000)] 
HitTest test added

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

25 years agoGTK 1.0.x compilation fixes
Vadim Zeitlin [Mon, 12 Apr 1999 11:39:51 +0000 (11:39 +0000)] 
GTK 1.0.x compilation fixes

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

25 years agoauto buffer class(es)
Vadim Zeitlin [Mon, 12 Apr 1999 09:57:22 +0000 (09:57 +0000)] 
auto buffer class(es)

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

25 years agoAdded $(WAITFLAG) so other shells can use appropriate flag
Robin Dunn [Mon, 12 Apr 1999 01:30:01 +0000 (01:30 +0000)] 
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

25 years agoAdded SetPaperId. It seemed to want such a method.
Robin Dunn [Mon, 12 Apr 1999 01:22:05 +0000 (01:22 +0000)] 
Added SetPaperId.  It seemed to want such a method.

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

25 years agowxGetCwd fixed
Vadim Zeitlin [Sun, 11 Apr 1999 23:19:48 +0000 (23:19 +0000)] 
wxGetCwd fixed

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

25 years agothread deletion fixed
Vadim Zeitlin [Sun, 11 Apr 1999 23:15:31 +0000 (23:15 +0000)] 
thread deletion fixed

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

25 years ago Rewrote MDI system
Robert Roebling [Sun, 11 Apr 1999 22:43:52 +0000 (22:43 +0000)] 
  Rewrote MDI system

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

25 years agodirect stream use
Václav Slavík [Sun, 11 Apr 1999 19:07:33 +0000 (19:07 +0000)] 
direct stream use

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

25 years agoMIME support
Václav Slavík [Sun, 11 Apr 1999 19:07:17 +0000 (19:07 +0000)] 
MIME support

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

25 years agooops... fatal bug (which I recently introduced) with uninit callback corrected
Vadim Zeitlin [Sat, 10 Apr 1999 22:27:21 +0000 (22:27 +0000)] 
oops... fatal bug (which I recently introduced) with uninit callback corrected

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

25 years agounitialized var initialized (mainly to reduce Purify warnings)
Vadim Zeitlin [Sat, 10 Apr 1999 22:26:46 +0000 (22:26 +0000)] 
unitialized var initialized (mainly to reduce Purify warnings)

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

25 years agotooltip bug (which I introduced recently) corrected
Vadim Zeitlin [Sat, 10 Apr 1999 22:24:32 +0000 (22:24 +0000)] 
tooltip bug (which I introduced recently) corrected

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

25 years agoAdded wxStrdup().
Ove Kaaven [Sat, 10 Apr 1999 14:15:15 +0000 (14:15 +0000)] 
Added wxStrdup().

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

25 years ago Removed this Maximize() overridden bug
Robert Roebling [Fri, 9 Apr 1999 20:26:29 +0000 (20:26 +0000)] 
  Removed this Maximize() overridden bug
  Changed wxFrame so that drawing into the
    client area draws into the client area.
    Removed some ugly hacks on the way. Don't
    forget to recompile everything.

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

25 years ago Here it comes:
Robert Roebling [Fri, 9 Apr 1999 18:01:17 +0000 (18:01 +0000)] 
  Here it comes:
  Doc updates
  Makefile doesn't strip anylonger
  Makefile adapted to /src/unix etc
  Added wxLB_ALWAYS_SB
  Added MWM window manager hints
  Fixed event handling bugs that (among others) caused
    the wxListBox misbeahiour
  Rwwrote GtkmyFixed for GTK 1.2
  Made data requests etc in wxClipboadr asynchronous
  Added underscores to menus (some)
  Tried in vain to make wxTextCtrl (and its GtkTable)
    behave correctly. The bottom text control in the
    controls samples still misbehaves upon start-up.
  did I change notebook.cpp ?

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

25 years ago* Commented out "delete this;"
Guilhem Lavaux [Fri, 9 Apr 1999 17:31:20 +0000 (17:31 +0000)] 
* Commented out "delete this;"
* Finished threads can be restarted.

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

25 years agoFor non-Unicode, preserve binary compatibility by doing
Ove Kaaven [Fri, 9 Apr 1999 12:42:26 +0000 (12:42 +0000)] 
For non-Unicode, preserve binary compatibility by doing
#define wxChar char
instead of typedef char wxChar. This is a temporary measure.

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

25 years agoNo more overlap between lines (I hope).
Karsten Ballüder [Fri, 9 Apr 1999 10:06:21 +0000 (10:06 +0000)] 
No more overlap between lines (I hope).

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

25 years agobetter centering of text/images
Karsten Ballüder [Fri, 9 Apr 1999 09:54:03 +0000 (09:54 +0000)] 
better centering of text/images

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

25 years agofixed some glitches
Karsten Ballüder [Fri, 9 Apr 1999 09:45:38 +0000 (09:45 +0000)] 
fixed some glitches

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

25 years agoModified it to adjust to different icons sizes. Please check.
Karsten Ballüder [Fri, 9 Apr 1999 09:18:52 +0000 (09:18 +0000)] 
Modified it to adjust to different icons sizes. Please check.

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

25 years agoUnicode definitions for glibc, etc.
Ove Kaaven [Thu, 8 Apr 1999 23:38:47 +0000 (23:38 +0000)] 
Unicode definitions for glibc, etc.

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

25 years agoUnicode support is *experimental*, so disable it by default.
Ove Kaaven [Thu, 8 Apr 1999 23:22:29 +0000 (23:22 +0000)] 
Unicode support is *experimental*, so disable it by default.

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

25 years agoRemoved check for pthread-0.7 on Linux which causes problems on some glibc2
Karsten Ballüder [Thu, 8 Apr 1999 20:52:29 +0000 (20:52 +0000)] 
Removed check for pthread-0.7 on Linux which causes problems on some glibc2
systems and break static linkage.

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

25 years agoFixed gtk 1.2.x wxYield() problem (tested).
Karsten Ballüder [Thu, 8 Apr 1999 20:51:00 +0000 (20:51 +0000)] 
Fixed gtk 1.2.x wxYield() problem (tested).

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

25 years agoAdded candidate wxDragImage implementation for wxMSW
Julian Smart [Thu, 8 Apr 1999 19:36:00 +0000 (19:36 +0000)] 
Added candidate wxDragImage implementation for wxMSW

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