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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
69157f8b8b
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
1999-04-12 01:22:05 +00:00
Robert Roebling
ab2b3dd4a2
Rewrote MDI system
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-11 22:43:52 +00:00
Václav Slavík
53b7ce7ef8
direct stream use
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-11 19:07:33 +00:00
Václav Slavík
9e9ee68e90
MIME support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-11 19:07:17 +00:00
Ove Kaaven
639a9fb5d7
Added wxStrdup().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-10 14:15:15 +00:00
Robert Roebling
f362b96d67
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
1999-04-09 20:26:29 +00:00
Robert Roebling
034be8882c
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
1999-04-09 18:01:17 +00:00
Ove Kaaven
1cfecdda6f
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
1999-04-09 12:42:26 +00:00
Ove Kaaven
34f9227c5a
Unicode definitions for glibc, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-08 23:38:47 +00:00
Karsten Ballüder
53a8af592a
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
1999-04-08 20:51:00 +00:00
Julian Smart
7cf8333086
Added candidate wxDragImage implementation for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-08 19:36:00 +00:00
Julian Smart
e702ff0f08
Menu/toolbar event handling now tries the window with the focus first.
...
wxTextCtrl processes cut, copy, paste, undo, redo commands and UI updates
automatically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 21:33:22 +00:00
Vadim Zeitlin
b12696919b
allow access to terminating NUL character with operator[]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 17:22:19 +00:00
Julian Smart
b59bf2db65
Added imaggif.h, imaggif.cpp (wxImage GIF-reading support); candidate
...
FindFocus implementation for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 14:51:34 +00:00
Vadim Zeitlin
9869734d04
no more SetAppName/SetVendor in the config classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 13:01:50 +00:00
Vadim Zeitlin
61ba49f2b6
wxRegConfig::GetEntryType() added and some bugs fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 21:13:46 +00:00
Robert Roebling
d6086ea663
Changed clipboard text format id from "STRING" to "TEXT"
...
DnD might now actually compile (but nothing else)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 17:24:14 +00:00
Julian Smart
ca8b28f2ef
Added some missing wxTextCtrl functions: Undo, Redo, CanUndo, CanRedo,
...
CanCopy, CanCut, CanPaste, GetSelection, IsEditable.
Also added wxNotebook::SetTabSize (only implemented on wxMSW but necessary
when using just an icon).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 16:32:33 +00:00
Vadim Zeitlin
19d40bab31
wxConfig::GetEntryType() added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 10:23:31 +00:00
Václav Slavík
18c07b73c6
fixed input stream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-04 13:02:19 +00:00
Julian Smart
58a33cb4e6
Win16 corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-04 11:24:51 +00:00
Vadim Zeitlin
c2dcfdef63
wxMenu and wxMenuBar modifications: now works much better with owner-drawn
...
items, better encapsulation (the wxMenu data members are no longer public),
simplified wxFrame and derived classes by moving the common parts into
member functions of wxMenuBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-03 22:25:12 +00:00
Vadim Zeitlin
103aec296a
more backwards compatibility for printing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-02 22:30:56 +00:00
Vadim Zeitlin
ae8db4dc3a
setup.h for makefile builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-02 10:36:03 +00:00
Robert Roebling
d345e841da
With the exceptions of DnD, wxGTk now works with
...
both GTK 1.0.6 and GTK 1.2.1 - the latter still
produces warnings and blah.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-01 12:14:30 +00:00
Vadim Zeitlin
1a33c3ba91
wxMkDir() has 'perm' argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-01 12:01:47 +00:00
Robert Roebling
30f1b5f3ef
added wxFrame::Command()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-31 17:53:27 +00:00
Vadim Zeitlin
7491d644e6
Motif compilation fixes (now ok)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 11:09:48 +00:00
Vadim Zeitlin
82e06aa02f
this file is now called setup0.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 09:46:27 +00:00
Vadim Zeitlin
e146b8c8bf
wxTopLevelWindows is now a wxWindowList, better compatibility with the old
...
wxList in list.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 09:43:29 +00:00