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

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