Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
2b4c23153f |
4
debian/changelog
vendored
4
debian/changelog
vendored
@@ -1,7 +1,5 @@
|
|||||||
wxwindows2.2 (2.2.5.1) unstable; urgency=low
|
wxwindows2.2 (2.2.5) unstable; urgency=low
|
||||||
|
|
||||||
* "This One's for Dirk" Closes: #84696
|
|
||||||
* 2.2.5 has known issues and will not be released for Debian.
|
|
||||||
* Fixed parser.y for Alpha builds (#82949)
|
* Fixed parser.y for Alpha builds (#82949)
|
||||||
* changed mesa dependency to the virtual libgl package and
|
* changed mesa dependency to the virtual libgl package and
|
||||||
added Conflicts for the old 2.1 packages (which are now
|
added Conflicts for the old 2.1 packages (which are now
|
||||||
|
2
debian/control.in
vendored
2
debian/control.in
vendored
@@ -1,7 +1,7 @@
|
|||||||
Source: wxwindows=V
|
Source: wxwindows=V
|
||||||
Section: libs
|
Section: libs
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Build-Depends: debhelper (>=2.0), flex, bison, libgtk1.2-dev, python-dev (>=1.5.2), python-distutils, zlib1g-dev, libjpeg62-dev, libpng2-dev, libtiff3g-dev, libgl-dev, libesd0-dev
|
Build-Depends: debhelper (>=1.1.17), flex, bison, libgtk1.2-dev, python-dev (>=1.5.2), python-distutils, zlib1g-dev, libjpeg62-dev, libpng2-dev, libtiff3g-dev, libgl-dev, libesd0-dev
|
||||||
Maintainer: Ron Lee <ron@debian.org>
|
Maintainer: Ron Lee <ron@debian.org>
|
||||||
Standards-Version: 3.2.1.2
|
Standards-Version: 3.2.1.2
|
||||||
|
|
||||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@@ -430,7 +430,7 @@ install-examples: build-examples-stamp
|
|||||||
dh_installdirs
|
dh_installdirs
|
||||||
|
|
||||||
binary-common:
|
binary-common:
|
||||||
dh_testversion 2
|
dh_testversion 1.1.17
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_installdocs
|
dh_installdocs
|
||||||
|
@@ -13,14 +13,6 @@ wxMSW:
|
|||||||
OTHER CHANGES
|
OTHER CHANGES
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
2.2.6
|
|
||||||
-----
|
|
||||||
|
|
||||||
wxMSW:
|
|
||||||
|
|
||||||
- wxChoice sizing bug introduced in 2.2.5 fixed (oops) and calculating of
|
|
||||||
the size of initially empty wxChoice controls fixed as well
|
|
||||||
|
|
||||||
2.2.5
|
2.2.5
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
@@ -2,11 +2,7 @@ This file contains the detailed log of wxGTK-specific changes, please see
|
|||||||
doc/changes.txt for the concise log of important changes in all wxWindows
|
doc/changes.txt for the concise log of important changes in all wxWindows
|
||||||
ports.
|
ports.
|
||||||
|
|
||||||
*** next release ***
|
|
||||||
|
|
||||||
wxWakeUpIdle() works again
|
|
||||||
|
|
||||||
wxGauge now supports wxGA_VERTICAL (Shane Forsythe)
|
|
||||||
|
|
||||||
*** 29th January 2001: wxWindows 2.2.5 released ***
|
*** 29th January 2001: wxWindows 2.2.5 released ***
|
||||||
|
|
||||||
@@ -22,7 +18,7 @@ with older egcs.
|
|||||||
|
|
||||||
Corrected wxYield() to handle recursive calls
|
Corrected wxYield() to handle recursive calls
|
||||||
more gracefully (and with a warning in debug mode).
|
more gracefully (and with a warning in debug mode).
|
||||||
This fixes a problem with crashing wxTreeCtrl's
|
This fixes a problem with crashing wxTreeCtrl's
|
||||||
built-in drag'n'drop and probably some other as
|
built-in drag'n'drop and probably some other as
|
||||||
well.
|
well.
|
||||||
|
|
||||||
@@ -135,28 +131,28 @@ Added code for writing BMP images.
|
|||||||
Added code for writing TIFF images.
|
Added code for writing TIFF images.
|
||||||
|
|
||||||
Fixed problem with best visuals (on SGI)
|
Fixed problem with best visuals (on SGI)
|
||||||
|
|
||||||
Applied a number of compile fixes for various Unix variants.
|
Applied a number of compile fixes for various Unix variants.
|
||||||
|
|
||||||
Fixed wrong background colours appearing sometimes and fix
|
Fixed wrong background colours appearing sometimes and fix
|
||||||
for resetting the default font in controls.
|
for resetting the default font in controls.
|
||||||
|
|
||||||
Speed-up to wxListCtrl.
|
Speed-up to wxListCtrl.
|
||||||
|
|
||||||
Fixed bug wxTextStream::ReadLine()
|
Fixed bug wxTextStream::ReadLine()
|
||||||
|
|
||||||
Various improvements commandline parser.
|
Various improvements commandline parser.
|
||||||
|
|
||||||
Changed wxColour unequal operator to compare colours.
|
Changed wxColour unequal operator to compare colours.
|
||||||
|
|
||||||
Fixed wxMenuBar::Replace bug.
|
Fixed wxMenuBar::Replace bug.
|
||||||
|
|
||||||
Added new position to slider update event.
|
Added new position to slider update event.
|
||||||
|
|
||||||
Minor fix to idle handling (now wxGTK events come after all GTK events).
|
Minor fix to idle handling (now wxGTK events come after all GTK events).
|
||||||
|
|
||||||
Various fixes to the new wxGrid class.
|
Various fixes to the new wxGrid class.
|
||||||
|
|
||||||
Bug-fixes.
|
Bug-fixes.
|
||||||
|
|
||||||
*** 4th June 2000: wxWindows pre-2.2 release ***
|
*** 4th June 2000: wxWindows pre-2.2 release ***
|
||||||
@@ -179,7 +175,7 @@ An extra library for the OpenGl class now gets builts
|
|||||||
*** 19th March 2000: wxWindows 2.1.14 released ***
|
*** 19th March 2000: wxWindows 2.1.14 released ***
|
||||||
|
|
||||||
An extra library for the OpenGl class now gets builts
|
An extra library for the OpenGl class now gets builts
|
||||||
and installed. There is also an extra RPM for this
|
and installed. There is also an extra RPM for this
|
||||||
small class now.
|
small class now.
|
||||||
|
|
||||||
Added possibility to compile wxGTK with already installed
|
Added possibility to compile wxGTK with already installed
|
||||||
@@ -284,7 +280,7 @@ Build-fixes for various platforms and compilers.
|
|||||||
|
|
||||||
*** 6th January '2000: wxWindows 2.1.12 released ***
|
*** 6th January '2000: wxWindows 2.1.12 released ***
|
||||||
|
|
||||||
Who has a BigEndian computer (e.g. Sparc or PowerPC) that runs a 15
|
Who has a BigEndian computer (e.g. Sparc or PowerPC) that runs a 15
|
||||||
and/or 16 bit colour mode? I need this for testing purposes, i.e. this
|
and/or 16 bit colour mode? I need this for testing purposes, i.e. this
|
||||||
person could help me by running a small testprogram and sending
|
person could help me by running a small testprogram and sending
|
||||||
me the output.
|
me the output.
|
||||||
@@ -373,7 +369,7 @@ Fixed several problems with buffered streams. Added support for
|
|||||||
setting the end-of-line mode (Mac,DOS,Unix) in wxTextOutputStream.
|
setting the end-of-line mode (Mac,DOS,Unix) in wxTextOutputStream.
|
||||||
|
|
||||||
Added code to send events from one thread to another and added
|
Added code to send events from one thread to another and added
|
||||||
function to wake up idle system (needed for sending inter-thread
|
function to wake up idle system (needed for sending inter-thread
|
||||||
events).
|
events).
|
||||||
|
|
||||||
Corrected wrongly set flag in dialogs which broke its tab code.
|
Corrected wrongly set flag in dialogs which broke its tab code.
|
||||||
@@ -407,8 +403,8 @@ release will be called wxWindows 2.2.X, development snapshots
|
|||||||
will be called 2.1.X.
|
will be called 2.1.X.
|
||||||
|
|
||||||
A lot of discussion has been wasted on how to maintain a
|
A lot of discussion has been wasted on how to maintain a
|
||||||
once released stable version. It was almost universally
|
once released stable version. It was almost universally
|
||||||
agreed that only a commercial entity will have the motivation
|
agreed that only a commercial entity will have the motivation
|
||||||
($$$) to do that - so far there is no wxWindows Inc.
|
($$$) to do that - so far there is no wxWindows Inc.
|
||||||
|
|
||||||
Support for GTK 1.0 has been dropped. This version has
|
Support for GTK 1.0 has been dropped. This version has
|
||||||
@@ -419,8 +415,8 @@ Rewritten the support for multiple-format Drag'n'Drop and
|
|||||||
clipboard under both GTK and MSW. There are probably some
|
clipboard under both GTK and MSW. There are probably some
|
||||||
problems here and there left.
|
problems here and there left.
|
||||||
|
|
||||||
wxListBox and wxChoice can now handle only either void
|
wxListBox and wxChoice can now handle only either void
|
||||||
client data (which it will not delete on destruction) or
|
client data (which it will not delete on destruction) or
|
||||||
client data of the wxClientData type (which it will delete),
|
client data of the wxClientData type (which it will delete),
|
||||||
instead of both at the same time. The same will happen
|
instead of both at the same time. The same will happen
|
||||||
to wxComboBox some time. Also, wxListBox can now sort its
|
to wxComboBox some time. Also, wxListBox can now sort its
|
||||||
@@ -514,7 +510,7 @@ Made default button action work in more cases.
|
|||||||
|
|
||||||
As the old makefile system didn't work, I trashed it and wrote
|
As the old makefile system didn't work, I trashed it and wrote
|
||||||
a new one - mo more GNU. This, of course, caused a lot of people
|
a new one - mo more GNU. This, of course, caused a lot of people
|
||||||
to start sing their song of complaints - any change is a good
|
to start sing their song of complaints - any change is a good
|
||||||
opportunity to complain, but the effect of the change is that
|
opportunity to complain, but the effect of the change is that
|
||||||
we now have shared library support on Linux and Solaris (and
|
we now have shared library support on Linux and Solaris (and
|
||||||
probably others as well) and that the Linux shared library no
|
probably others as well) and that the Linux shared library no
|
||||||
@@ -577,7 +573,7 @@ A few more minor fixes.
|
|||||||
|
|
||||||
6th August '99: Eight wxGTK 2.1 snapshot released
|
6th August '99: Eight wxGTK 2.1 snapshot released
|
||||||
|
|
||||||
The new makefile system is not able to produce shared libraries
|
The new makefile system is not able to produce shared libraries
|
||||||
on Unix with the exception of Linux - libtool is really great.
|
on Unix with the exception of Linux - libtool is really great.
|
||||||
Therefore, the build system defaults to static libraries on
|
Therefore, the build system defaults to static libraries on
|
||||||
anything but Linux for now.
|
anything but Linux for now.
|
||||||
@@ -640,8 +636,8 @@ Some more corrections I forgot.
|
|||||||
New wxPython (includes new layout system and printing).
|
New wxPython (includes new layout system and printing).
|
||||||
|
|
||||||
15th June '99: Sixth wxGTK 2.1 snapshot released
|
15th June '99: Sixth wxGTK 2.1 snapshot released
|
||||||
|
|
||||||
|
|
||||||
The biggest change is the completely rewritten configure/makefile
|
The biggest change is the completely rewritten configure/makefile
|
||||||
system using automake. The main argument for switching to automake
|
system using automake. The main argument for switching to automake
|
||||||
is that the resulting makefiles should be more portable so that
|
is that the resulting makefiles should be more portable so that
|
||||||
@@ -651,69 +647,69 @@ shared-only compilation, can be invoked from any directory for
|
|||||||
concurrent builds wihtin one source tree, uses libtool for greater
|
concurrent builds wihtin one source tree, uses libtool for greater
|
||||||
shared-library platform support, has a functinonal "make uninstall",
|
shared-library platform support, has a functinonal "make uninstall",
|
||||||
works with GTK, Motif and WINE, conforms better to GNU standards
|
works with GTK, Motif and WINE, conforms better to GNU standards
|
||||||
as far as configure option names are concerned and is easier to
|
as far as configure option names are concerned and is easier to
|
||||||
maintain.
|
maintain.
|
||||||
|
|
||||||
Applied patches to compile wxGTK on OS/2.
|
Applied patches to compile wxGTK on OS/2.
|
||||||
|
|
||||||
Configure checks for byte-order and new defines for byte swapping
|
Configure checks for byte-order and new defines for byte swapping
|
||||||
with respect to the byte-order. Added test for this to typetest sample.
|
with respect to the byte-order. Added test for this to typetest sample.
|
||||||
Also made BMP handler bigendian safe so that it should work on
|
Also made BMP handler bigendian safe so that it should work on
|
||||||
Solaris and such.
|
Solaris and such.
|
||||||
|
|
||||||
Small changes to basic drawing stuff: made wxColour actually compare
|
Small changes to basic drawing stuff: made wxColour actually compare
|
||||||
RGB values in the == operator, added new constructor to wxMask,
|
RGB values in the == operator, added new constructor to wxMask,
|
||||||
corrected initial background colour for DCs, it is now possible
|
corrected initial background colour for DCs, it is now possible
|
||||||
to use a wxWindowDC etc before there is any window (this doesn't
|
to use a wxWindowDC etc before there is any window (this doesn't
|
||||||
make any sense, but it is what wxMSW does.)
|
make any sense, but it is what wxMSW does.)
|
||||||
|
|
||||||
Added support for the PRIMARY SELECTION to the wxClipboard
|
Added support for the PRIMARY SELECTION to the wxClipboard
|
||||||
class.
|
class.
|
||||||
|
|
||||||
Fixed redraw bug when scrolling window-less widgets out
|
Fixed redraw bug when scrolling window-less widgets out
|
||||||
of the visible area (actually a work-around for a GTK bug).
|
of the visible area (actually a work-around for a GTK bug).
|
||||||
|
|
||||||
Regrouped some samples, created new one for various versions
|
Regrouped some samples, created new one for various versions
|
||||||
of the wxTextCtrl.
|
of the wxTextCtrl.
|
||||||
|
|
||||||
Added wxWindow::Reparent() and wxFrame::MakeModal().
|
Added wxWindow::Reparent() and wxFrame::MakeModal().
|
||||||
|
|
||||||
Improved handling of column width in wxListCtrl and made
|
Improved handling of column width in wxListCtrl and made
|
||||||
this more compatible with the wxMSW version. Also removed
|
this more compatible with the wxMSW version. Also removed
|
||||||
a bug from the wxImageList returning an off-by-one id for
|
a bug from the wxImageList returning an off-by-one id for
|
||||||
added images.
|
added images.
|
||||||
|
|
||||||
Fixed keyboard hotkeys and resizing for wxMDIChildFrame
|
Fixed keyboard hotkeys and resizing for wxMDIChildFrame
|
||||||
menu bars.
|
menu bars.
|
||||||
|
|
||||||
Added flag to wxSplitterWindow to update its children's
|
Added flag to wxSplitterWindow to update its children's
|
||||||
sizes "live" instead of moving a XOR'ed bar around - this
|
sizes "live" instead of moving a XOR'ed bar around - this
|
||||||
is a resource-draining option. Also corrected cursors
|
is a resource-draining option. Also corrected cursors
|
||||||
in splitter window.
|
in splitter window.
|
||||||
|
|
||||||
New way to show "disabled" or greyed toolbar items.
|
New way to show "disabled" or greyed toolbar items.
|
||||||
|
|
||||||
Rewrote parts of the tree ctrl to allow multiple selections
|
Rewrote parts of the tree ctrl to allow multiple selections
|
||||||
and variable size items (Sylvain). These new function do not
|
and variable size items (Sylvain). These new function do not
|
||||||
exist in the native Win32 tree control.
|
exist in the native Win32 tree control.
|
||||||
|
|
||||||
Implemented global cursors and wxBusyCursor etc. Also removed
|
Implemented global cursors and wxBusyCursor etc. Also removed
|
||||||
another cursor misbehaviour.
|
another cursor misbehaviour.
|
||||||
|
|
||||||
Updated many parts of the documentation to reflect changes
|
Updated many parts of the documentation to reflect changes
|
||||||
in wxWindows 2.1, wxPython and more exact description of
|
in wxWindows 2.1, wxPython and more exact description of
|
||||||
cross-platform issues as well as platform differences.
|
cross-platform issues as well as platform differences.
|
||||||
|
|
||||||
Many other fixes, mainly by others...
|
Many other fixes, mainly by others...
|
||||||
|
|
||||||
Further compile fixes for different architectures.
|
Further compile fixes for different architectures.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
25th May '99: Fifth wxGTK 2.1 snapshot released
|
25th May '99: Fifth wxGTK 2.1 snapshot released
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
This is mostly a bug-fix release. We are having funny
|
This is mostly a bug-fix release. We are having funny
|
||||||
times to make wxGTK work well with different micro
|
times to make wxGTK work well with different micro
|
||||||
versions of GTK 1.2 - which is very close to impossible.
|
versions of GTK 1.2 - which is very close to impossible.
|
||||||
@@ -722,165 +718,165 @@ vary a lot. I use GTK 1.2.3 and only get wanrnings in
|
|||||||
one sample (notebook) and that one is due to a bug in
|
one sample (notebook) and that one is due to a bug in
|
||||||
GTK - some people using GTK 1.2.2 reported hundreds of warnings
|
GTK - some people using GTK 1.2.2 reported hundreds of warnings
|
||||||
getting spitted out for what seems like no reason.
|
getting spitted out for what seems like no reason.
|
||||||
|
|
||||||
This snapshot contains the beginnings of our merging of
|
This snapshot contains the beginnings of our merging of
|
||||||
headers, meaning that in the future all ports will
|
headers, meaning that in the future all ports will
|
||||||
use the same headers and will share a lot more code.
|
use the same headers and will share a lot more code.
|
||||||
We have taken this moment to reorganize some code and
|
We have taken this moment to reorganize some code and
|
||||||
hope to have eliminated much bad C++ code, as reported
|
hope to have eliminated much bad C++ code, as reported
|
||||||
primarily by SGI's compilers (Vadim Zeitlin).
|
primarily by SGI's compilers (Vadim Zeitlin).
|
||||||
|
|
||||||
Rewritten char and key event propagation routines
|
Rewritten char and key event propagation routines
|
||||||
to reflect documentation and do the same on wxGTK
|
to reflect documentation and do the same on wxGTK
|
||||||
as on wxMSW. If you are interested in ascii chars
|
as on wxMSW. If you are interested in ascii chars
|
||||||
and cursor key etc, intercept EVT_CHAR, if you
|
and cursor key etc, intercept EVT_CHAR, if you
|
||||||
are interested in which key actually got pressed,
|
are interested in which key actually got pressed,
|
||||||
intercept EVT_KEYDOWN (Norbert Irmer).
|
intercept EVT_KEYDOWN (Norbert Irmer).
|
||||||
|
|
||||||
Control that are given -1 as their ID no longer
|
Control that are given -1 as their ID no longer
|
||||||
get arbitrary positive IDs assigned but arbitrary
|
get arbitrary positive IDs assigned but arbitrary
|
||||||
negative IDs. This had caused some trouble with ID clashes.
|
negative IDs. This had caused some trouble with ID clashes.
|
||||||
|
|
||||||
wxWindow and wxScrolledWindow no longer use the
|
wxWindow and wxScrolledWindow no longer use the
|
||||||
wxScrollEvent, but the newly invented wxScrollWinEvent
|
wxScrollEvent, but the newly invented wxScrollWinEvent
|
||||||
so that no mixing up of events sent from wxSliders
|
so that no mixing up of events sent from wxSliders
|
||||||
or wxScrollbars placed in a wxWindow can occur.
|
or wxScrollbars placed in a wxWindow can occur.
|
||||||
|
|
||||||
Added wxProgressDialog for use with long background
|
Added wxProgressDialog for use with long background
|
||||||
work such as printing.
|
work such as printing.
|
||||||
|
|
||||||
Added drawing sample and scrolling sample, both of
|
Added drawing sample and scrolling sample, both of
|
||||||
which show some misbehaviours...
|
which show some misbehaviours...
|
||||||
|
|
||||||
When drawing with the wxXOR logical mode, wxGTK now uses
|
When drawing with the wxXOR logical mode, wxGTK now uses
|
||||||
GdkXOR (instead of GdkInvert) and when drawing in wxINVERT logical
|
GdkXOR (instead of GdkInvert) and when drawing in wxINVERT logical
|
||||||
mode, wxGTK now uses GdkInvert (as before). When you did some
|
mode, wxGTK now uses GdkInvert (as before). When you did some
|
||||||
rubberband dragging and you used wxXOR and a black pen, then
|
rubberband dragging and you used wxXOR and a black pen, then
|
||||||
you should change wxINVERT.
|
you should change wxINVERT.
|
||||||
|
|
||||||
Applied more patches for SGI and HP-UX compilation.
|
Applied more patches for SGI and HP-UX compilation.
|
||||||
|
|
||||||
More updates for wxSockets (Guilhem Lavaux). Seems to be nearly
|
More updates for wxSockets (Guilhem Lavaux). Seems to be nearly
|
||||||
finished.
|
finished.
|
||||||
|
|
||||||
You can now use threads within your GUI again. Well,
|
You can now use threads within your GUI again. Well,
|
||||||
at least if you know what you are doing and you had a look
|
at least if you know what you are doing and you had a look
|
||||||
at the threads sample.
|
at the threads sample.
|
||||||
|
|
||||||
wxGLCanvas updated so that it can share display lists
|
wxGLCanvas updated so that it can share display lists
|
||||||
over several windows and to not exhibit any flicker.
|
over several windows and to not exhibit any flicker.
|
||||||
(Norber Irmer).
|
(Norber Irmer).
|
||||||
|
|
||||||
wxNotebook revamped so that its process of creation matches
|
wxNotebook revamped so that its process of creation matches
|
||||||
wxMSW's more closely, also avoiding problems with wrong page
|
wxMSW's more closely, also avoiding problems with wrong page
|
||||||
number. Added InsertPage() and the possibility to prevent
|
number. Added InsertPage() and the possibility to prevent
|
||||||
switching pages by intercepting the PAGE_CHANGING event. Also,
|
switching pages by intercepting the PAGE_CHANGING event. Also,
|
||||||
wxNotebooks now get shown even if all pages are empty.
|
wxNotebooks now get shown even if all pages are empty.
|
||||||
|
|
||||||
Added Activate() to wxMDIChildFrame (Russel).
|
Added Activate() to wxMDIChildFrame (Russel).
|
||||||
|
|
||||||
Improved wxSplitterWindow behaviour and visual feed-back when
|
Improved wxSplitterWindow behaviour and visual feed-back when
|
||||||
given a minimal size etc (Bruce DeVisser).
|
given a minimal size etc (Bruce DeVisser).
|
||||||
|
|
||||||
Minor updates to wxTreeCtrl, wxListBox, printing, wxClipboard,
|
Minor updates to wxTreeCtrl, wxListBox, printing, wxClipboard,
|
||||||
wxString, wxThreads and many others.
|
wxString, wxThreads and many others.
|
||||||
|
|
||||||
Also wxMSW got a big face-lift, not to mention the new wxMac release...
|
Also wxMSW got a big face-lift, not to mention the new wxMac release...
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
11th May '99: Fourth wxGTK 2.1 snapshot released
|
11th May '99: Fourth wxGTK 2.1 snapshot released
|
||||||
|
|
||||||
|
|
||||||
This is mostly a bug-fix release. This affects wxSocket, wxThread,
|
This is mostly a bug-fix release. This affects wxSocket, wxThread,
|
||||||
and a few GUI classes. Also more work has been done and window
|
and a few GUI classes. Also more work has been done and window
|
||||||
placement and decorations etc. which we hope to have finished now.
|
placement and decorations etc. which we hope to have finished now.
|
||||||
|
|
||||||
Applied patches for FreeBSD and SGI compilation (not yet finshed).
|
Applied patches for FreeBSD and SGI compilation (not yet finshed).
|
||||||
|
|
||||||
Updated wxPython to beta 9.
|
Updated wxPython to beta 9.
|
||||||
|
|
||||||
Made wxGLCanvas work again - strangely it flickers now...
|
Made wxGLCanvas work again - strangely it flickers now...
|
||||||
|
|
||||||
wxStaticText is currently broken with GTK 1.2.2 (which I don't
|
wxStaticText is currently broken with GTK 1.2.2 (which I don't
|
||||||
yet have and thus could not fix). Also, scrolling subwindows
|
yet have and thus could not fix). Also, scrolling subwindows
|
||||||
(although much improved including a sample) doesn't work perfectly
|
(although much improved including a sample) doesn't work perfectly
|
||||||
due to a bug in GTK 1.2.1 (probably 1.2.2 as well).
|
due to a bug in GTK 1.2.1 (probably 1.2.2 as well).
|
||||||
|
|
||||||
Added wxStaticLine.
|
Added wxStaticLine.
|
||||||
|
|
||||||
Note that the next release might bring about changes to keyboard
|
Note that the next release might bring about changes to keyboard
|
||||||
handling and scroll event intercepting from wxScrolledWindow.
|
handling and scroll event intercepting from wxScrolledWindow.
|
||||||
|
|
||||||
By and large much of the code has stabilized and won't be much
|
By and large much of the code has stabilized and won't be much
|
||||||
*** different in the final wxWindows 2.1 release. Please test as ***
|
*** different in the final wxWindows 2.1 release. Please test as ***
|
||||||
much as you can.
|
much as you can.
|
||||||
|
|
||||||
The next release will have a new build system.
|
The next release will have a new build system.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
3rd May '99: Third wxGTK 2.1 snapshot released
|
3rd May '99: Third wxGTK 2.1 snapshot released
|
||||||
|
|
||||||
|
|
||||||
Updated INSTALL.txt and SYMBOLS.txt.
|
Updated INSTALL.txt and SYMBOLS.txt.
|
||||||
|
|
||||||
Support for Unicode is now almost complete. Most samples work in
|
Support for Unicode is now almost complete. Most samples work in
|
||||||
both Unicode and non-Unicode mode. Thanks to Ove Kaaven and Vadim.
|
both Unicode and non-Unicode mode. Thanks to Ove Kaaven and Vadim.
|
||||||
|
|
||||||
Internal changes required for wxOLE and addition of a very experimental
|
Internal changes required for wxOLE and addition of a very experimental
|
||||||
wxOLE code section using GNOME's Bonobo library (from GNOME's CVS).
|
wxOLE code section using GNOME's Bonobo library (from GNOME's CVS).
|
||||||
|
|
||||||
New version of wxPython that works with the wxGTK 2.1.
|
New version of wxPython that works with the wxGTK 2.1.
|
||||||
This now includes a very comprensive test/demo suite. Thanks to
|
This now includes a very comprensive test/demo suite. Thanks to
|
||||||
Robin Dunn, Harm v.d. Heijden and others. Beware of the hang-man...
|
Robin Dunn, Harm v.d. Heijden and others. Beware of the hang-man...
|
||||||
|
|
||||||
More fine tuning of focus handling and GUI widgets.
|
More fine tuning of focus handling and GUI widgets.
|
||||||
|
|
||||||
Complete rewrite of wxSocket classes (still experimental).
|
Complete rewrite of wxSocket classes (still experimental).
|
||||||
Thanks to Guilhem Lavaux.
|
Thanks to Guilhem Lavaux.
|
||||||
|
|
||||||
wxMenuBar supports underlined shortcuts like Windows does,
|
wxMenuBar supports underlined shortcuts like Windows does,
|
||||||
indicated by a leading & character. wxMenus now have hotkeys
|
indicated by a leading & character. wxMenus now have hotkeys
|
||||||
such as in wxXt and wxMSW.
|
such as in wxXt and wxMSW.
|
||||||
|
|
||||||
Rewritten MDI subsystem.
|
Rewritten MDI subsystem.
|
||||||
|
|
||||||
Correcetions and additions to the printing framework including
|
Correcetions and additions to the printing framework including
|
||||||
a paper type database (Julian).
|
a paper type database (Julian).
|
||||||
|
|
||||||
Several controls now support more style flags for modifying
|
Several controls now support more style flags for modifying
|
||||||
look (and feel) of the controls and windows.
|
look (and feel) of the controls and windows.
|
||||||
|
|
||||||
New implementation of idle handlers, which now send an idle
|
New implementation of idle handlers, which now send an idle
|
||||||
event only once after the event queue has been emptied (which
|
event only once after the event queue has been emptied (which
|
||||||
is what happens in the wxMSW port as well), not regularly.
|
is what happens in the wxMSW port as well), not regularly.
|
||||||
This no longer forces wxGTK applications to sleep (by having
|
This no longer forces wxGTK applications to sleep (by having
|
||||||
to call usleep()) in idle time - giving more CPU slices to
|
to call usleep()) in idle time - giving more CPU slices to
|
||||||
the application if desired.
|
the application if desired.
|
||||||
|
|
||||||
wxGLCanvas (the OpenGl for wxWindows) now accepts keyboard input.
|
wxGLCanvas (the OpenGl for wxWindows) now accepts keyboard input.
|
||||||
|
|
||||||
The usual number of compile and bug fixes from all involved.
|
The usual number of compile and bug fixes from all involved.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
21st April '99: Second wxGTK 2.1 snapshot released
|
21st April '99: Second wxGTK 2.1 snapshot released
|
||||||
|
|
||||||
|
|
||||||
Added much code for Unicode support. Still experimental, but looks very
|
Added much code for Unicode support. Still experimental, but looks very
|
||||||
cool - thanks to Ove Kaaven and Vadim Zeitlin. If you are very brave, then
|
cool - thanks to Ove Kaaven and Vadim Zeitlin. If you are very brave, then
|
||||||
you can compile wxGTK with "configure --with-unicode".
|
you can compile wxGTK with "configure --with-unicode".
|
||||||
|
|
||||||
More updates on the dreaded issue of making frames and dialogs impossible
|
More updates on the dreaded issue of making frames and dialogs impossible
|
||||||
to resize etc.
|
to resize etc.
|
||||||
|
|
||||||
Drag and Drop works now under GTK 1.2 - at least basically when dragging
|
Drag and Drop works now under GTK 1.2 - at least basically when dragging
|
||||||
and dropping text. The API is not entirely fixed yet but seems quite
|
and dropping text. The API is not entirely fixed yet but seems quite
|
||||||
good now. Support for different actions (copy/move/link/..) still missing.
|
good now. Support for different actions (copy/move/link/..) still missing.
|
||||||
I also removed support for GTK 1.0 Drag and Drop - this is just broken
|
I also removed support for GTK 1.0 Drag and Drop - this is just broken
|
||||||
and unusable in GTK 1.0 and I don't want to fix it.
|
and unusable in GTK 1.0 and I don't want to fix it.
|
||||||
|
|
||||||
I now embed the JPEG library and handlers for JPEG and GIF have been
|
I now embed the JPEG library and handlers for JPEG and GIF have been
|
||||||
added to the existing PNG and BMP (and XPM for GTK version only). In
|
added to the existing PNG and BMP (and XPM for GTK version only). In
|
||||||
the future, the RPMs will not contain these libraries but depend on
|
the future, the RPMs will not contain these libraries but depend on
|
||||||
@@ -889,211 +885,211 @@ ship with everything that is needed for wxGTK so that no downloading
|
|||||||
of ten image libs will be required - also avoiding problems with ten
|
of ten image libs will be required - also avoiding problems with ten
|
||||||
different kinds of libJPEG-6.0.1.7.IV beta 7. We also updated the
|
different kinds of libJPEG-6.0.1.7.IV beta 7. We also updated the
|
||||||
PNG code to the newest PNG version.
|
PNG code to the newest PNG version.
|
||||||
|
|
||||||
wxImage now makes use of the fast rendering code as provided by
|
wxImage now makes use of the fast rendering code as provided by
|
||||||
GTK 1.2 whenever possible. This should mean a speed-up for graphics
|
GTK 1.2 whenever possible. This should mean a speed-up for graphics
|
||||||
heavy apps.
|
heavy apps.
|
||||||
|
|
||||||
Many fixes all over. Also should compile with GTK 1.2.0 as opposed
|
Many fixes all over. Also should compile with GTK 1.2.0 as opposed
|
||||||
to only with GTK 1.2.1 now.
|
to only with GTK 1.2.1 now.
|
||||||
|
|
||||||
wxPython still doesn't compile, I think.
|
wxPython still doesn't compile, I think.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
12th April '99: First wxGTK 2.1 snapshot released
|
12th April '99: First wxGTK 2.1 snapshot released
|
||||||
|
|
||||||
|
|
||||||
This is the first developers' version of wxWindows 2.1 for GTK. It's main
|
This is the first developers' version of wxWindows 2.1 for GTK. It's main
|
||||||
new feature is that it supports GTK 1.2 (as opposed to GTK 1.0) which
|
new feature is that it supports GTK 1.2 (as opposed to GTK 1.0) which
|
||||||
will make development within the GNOME evironment a lot easier.
|
will make development within the GNOME evironment a lot easier.
|
||||||
|
|
||||||
Apart from the move to GTK 1.2 and the changes (some major) that were
|
Apart from the move to GTK 1.2 and the changes (some major) that were
|
||||||
required as part of that work, enhancement or corrections have been
|
required as part of that work, enhancement or corrections have been
|
||||||
made to many of the non-GUI classes and functions (such as wxClipboard,
|
made to many of the non-GUI classes and functions (such as wxClipboard,
|
||||||
wxThread, wxSocket, wxConfig)
|
wxThread, wxSocket, wxConfig)
|
||||||
and a few GUI classes (accelerators in menus, listbox always with
|
and a few GUI classes (accelerators in menus, listbox always with
|
||||||
scrollbar, wxFrame honours Motif Window Manager hints, corrected tab
|
scrollbar, wxFrame honours Motif Window Manager hints, corrected tab
|
||||||
traversal for broken GTK 1.0 widgets).
|
traversal for broken GTK 1.0 widgets).
|
||||||
|
|
||||||
There have been slight changes to the priting dialogs and their
|
There have been slight changes to the priting dialogs and their
|
||||||
setup data (which might break apps using this code in previous
|
setup data (which might break apps using this code in previous
|
||||||
versions). Also, a bug concerning printing white has been fixed
|
versions). Also, a bug concerning printing white has been fixed
|
||||||
(actually not tested).
|
(actually not tested).
|
||||||
|
|
||||||
Although this is only the first 2.1 snapshot, there is little reason not
|
Although this is only the first 2.1 snapshot, there is little reason not
|
||||||
to use it as many bugs from version 2.0 have been corrected. There are,
|
to use it as many bugs from version 2.0 have been corrected. There are,
|
||||||
pf course, still a few problem left with GTK 1.2 (some of which relate
|
pf course, still a few problem left with GTK 1.2 (some of which relate
|
||||||
to bugs in GTK).
|
to bugs in GTK).
|
||||||
|
|
||||||
I think I preserved backward compatility with GTK 1.0 and if not it
|
I think I preserved backward compatility with GTK 1.0 and if not it
|
||||||
should be easy to fix - but mostly I don't care.
|
should be easy to fix - but mostly I don't care.
|
||||||
|
|
||||||
Drag'N'Drop is currently completely broken. Also, wxPython currently
|
Drag'N'Drop is currently completely broken. Also, wxPython currently
|
||||||
doesn't compile with this release. The OpenGL canvas still seems to
|
doesn't compile with this release. The OpenGL canvas still seems to
|
||||||
work.
|
work.
|
||||||
|
|
||||||
Major targets for the final release (still a long way): a new configure
|
Major targets for the final release (still a long way): a new configure
|
||||||
system, support JPEG and GIF formats, wxHTML, super-duppah frame layout
|
system, support JPEG and GIF formats, wxHTML, super-duppah frame layout
|
||||||
stuff, syntax-highlighting editor, possibly Unicode, possibly some GNOME
|
stuff, syntax-highlighting editor, possibly Unicode, possibly some GNOME
|
||||||
gooddies, possibly world domination.
|
gooddies, possibly world domination.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*** 5th March '99: wxWindows 2.0 released ***
|
*** 5th March '99: wxWindows 2.0 released ***
|
||||||
|
|
||||||
|
|
||||||
This is the final version of wxWindows 2.0 for GTK. The versions for
|
This is the final version of wxWindows 2.0 for GTK. The versions for
|
||||||
Windows and Motif (and also this version) are available form Julian Smart's
|
Windows and Motif (and also this version) are available form Julian Smart's
|
||||||
site. The Mac version is still under development.
|
site. The Mac version is still under development.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*** 19th February '99: wxWindows 2.0 beta 5 ***
|
*** 19th February '99: wxWindows 2.0 beta 5 ***
|
||||||
|
|
||||||
|
|
||||||
This is the fifth beta release and it contains mostly bug fixes and
|
This is the fifth beta release and it contains mostly bug fixes and
|
||||||
updates for documentation.
|
updates for documentation.
|
||||||
|
|
||||||
Applied compile fixes for Solaris (different flavours and compilers).
|
Applied compile fixes for Solaris (different flavours and compilers).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*** 12th February '99: wxWindows 2.0 beta 4 ***
|
*** 12th February '99: wxWindows 2.0 beta 4 ***
|
||||||
|
|
||||||
|
|
||||||
This is the fourth beta release and it contains mostly bug fixes and
|
This is the fourth beta release and it contains mostly bug fixes and
|
||||||
updates for documentation.
|
updates for documentation.
|
||||||
|
|
||||||
Tracked a few more cases, where the bahaviour between wxMSW and wxGTK
|
Tracked a few more cases, where the bahaviour between wxMSW and wxGTK
|
||||||
differed. This was the case for closing a dialog or frame as well as
|
differed. This was the case for closing a dialog or frame as well as
|
||||||
for clearing a device context or setting its background colour and some
|
for clearing a device context or setting its background colour and some
|
||||||
other minor details.
|
other minor details.
|
||||||
|
|
||||||
Most standard dialogs have been face-liftet a little.
|
Most standard dialogs have been face-liftet a little.
|
||||||
|
|
||||||
Implememted default buttons for GTK.
|
Implememted default buttons for GTK.
|
||||||
|
|
||||||
Fixed many bugs. You guessed it.
|
Fixed many bugs. You guessed it.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*** 29th January '99: wxWindows 2.0 beta 3 ***
|
*** 29th January '99: wxWindows 2.0 beta 3 ***
|
||||||
|
|
||||||
|
|
||||||
This is the third beta release and it contains mostly bug fixes.
|
This is the third beta release and it contains mostly bug fixes.
|
||||||
|
|
||||||
There is one field where we haven't been able to fix the API yet, and that
|
There is one field where we haven't been able to fix the API yet, and that
|
||||||
it Drag'n'Drop. This is mostly due to the fact that DnD in
|
it Drag'n'Drop. This is mostly due to the fact that DnD in
|
||||||
GTK 1.0 is hardly usable and much different from GTK 1.2 which means that
|
GTK 1.0 is hardly usable and much different from GTK 1.2 which means that
|
||||||
we have to design a common API for Windows, GTK 1.0 and GTK 1.2. Although
|
we have to design a common API for Windows, GTK 1.0 and GTK 1.2. Although
|
||||||
we are trying to prevent that, it is possible that wxWindows 2.0 (being
|
we are trying to prevent that, it is possible that wxWindows 2.0 (being
|
||||||
based on GTK 1.0) will not have proper DnD support.
|
based on GTK 1.0) will not have proper DnD support.
|
||||||
|
|
||||||
The major changes are that tool tips have been added, threads have been completely
|
The major changes are that tool tips have been added, threads have been completely
|
||||||
rewritten, the ODBC code has been updated and improved, the socket code works
|
rewritten, the ODBC code has been updated and improved, the socket code works
|
||||||
better now.
|
better now.
|
||||||
|
|
||||||
Classes for managing MIME-types under Windows and Unix have been added.
|
Classes for managing MIME-types under Windows and Unix have been added.
|
||||||
|
|
||||||
There is now a wxGLCanvas class for OpenGl/Mesa for the Windows, GTK and
|
There is now a wxGLCanvas class for OpenGl/Mesa for the Windows, GTK and
|
||||||
Motif ports. Come see the penguins flying...
|
Motif ports. Come see the penguins flying...
|
||||||
|
|
||||||
Documentation has received a big face lift - it now covers nearly all the
|
Documentation has received a big face lift - it now covers nearly all the
|
||||||
classes, at least.
|
classes, at least.
|
||||||
|
|
||||||
The usual amount of bug fixes. Countless.
|
The usual amount of bug fixes. Countless.
|
||||||
|
|
||||||
A few member functions of wxString have been renamed.
|
A few member functions of wxString have been renamed.
|
||||||
|
|
||||||
For those who are using the ever-so-popular wxImage class (which
|
For those who are using the ever-so-popular wxImage class (which
|
||||||
now available on Motif and Windows as well) in 8-bit mode: wxGTK
|
now available on Motif and Windows as well) in 8-bit mode: wxGTK
|
||||||
now creates a color cube upon start-up in 8-bit mode and thus the
|
now creates a color cube upon start-up in 8-bit mode and thus the
|
||||||
generation of bitmaps from images has been speeded up 20 times.
|
generation of bitmaps from images has been speeded up 20 times.
|
||||||
|
|
||||||
It is now possible to develop with wxGTK without having the GTK 1.0 header
|
It is now possible to develop with wxGTK without having the GTK 1.0 header
|
||||||
files installed so that having the GTK 1.2 header files installed no longer
|
files installed so that having the GTK 1.2 header files installed no longer
|
||||||
is any problem. We also provide RPMs for RedHat glibc 2 based systems, compiled
|
is any problem. We also provide RPMs for RedHat glibc 2 based systems, compiled
|
||||||
with egcs 1.1.1 on SuSE 6.0. Note that the RPM will not work in
|
with egcs 1.1.1 on SuSE 6.0. Note that the RPM will not work in
|
||||||
SuSE 6.0 as SuSE decided to ship 6.0 with a broken GTK+ package.
|
SuSE 6.0 as SuSE decided to ship 6.0 with a broken GTK+ package.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*** 6th January '99: wxWindows 2.0 beta 2 ***
|
*** 6th January '99: wxWindows 2.0 beta 2 ***
|
||||||
|
|
||||||
|
|
||||||
This is the second beta release and contains it mostly build and
|
This is the second beta release and contains it mostly build and
|
||||||
bug fixes. Threads work well now on (up-to-date) glibc 2 systems,
|
bug fixes. Threads work well now on (up-to-date) glibc 2 systems,
|
||||||
commercial Unices and Windows.
|
commercial Unices and Windows.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*** 20th December '98: wxWindows 2.0 beta 1 ***
|
*** 20th December '98: wxWindows 2.0 beta 1 ***
|
||||||
|
|
||||||
|
|
||||||
This is the first beta release and we have used the time before
|
This is the first beta release and we have used the time before
|
||||||
this release to tidy up some parts of the API. All releases from
|
this release to tidy up some parts of the API. All releases from
|
||||||
now on will be source code compatible but we reserve binary compatibility
|
now on will be source code compatible but we reserve binary compatibility
|
||||||
for the final release. Because of this, the actual library name of
|
for the final release. Because of this, the actual library name of
|
||||||
the beta version will not be 2.0 but 1.99, so that we prevent
|
the beta version will not be 2.0 but 1.99, so that we prevent
|
||||||
conflicts with the final library later on. After the final release
|
conflicts with the final library later on. After the final release
|
||||||
we'll only fix bugs so that there will be no reason to link any
|
we'll only fix bugs so that there will be no reason to link any
|
||||||
program statically with wxGTK.
|
program statically with wxGTK.
|
||||||
|
|
||||||
We changed the name of the shared library to include the version of
|
We changed the name of the shared library to include the version of
|
||||||
the GTK used so that no conflicts emerge with simultaneous
|
the GTK used so that no conflicts emerge with simultaneous
|
||||||
versions of wxWindows for GTK 1.0 and for GTK 1.2 and so on.
|
versions of wxWindows for GTK 1.0 and for GTK 1.2 and so on.
|
||||||
|
|
||||||
As you can see, we have not moved to GTK 1.1.X as the different
|
As you can see, we have not moved to GTK 1.1.X as the different
|
||||||
development versions are too different and buggy to be useful. We'll
|
development versions are too different and buggy to be useful. We'll
|
||||||
wait for a stable GTK 1.2 release (hardly 1.2.0) and start porting
|
wait for a stable GTK 1.2 release (hardly 1.2.0) and start porting
|
||||||
then.
|
then.
|
||||||
|
|
||||||
wxGTK now compiles without problems on anything between gcc 2.7.2 on
|
wxGTK now compiles without problems on anything between gcc 2.7.2 on
|
||||||
Linux-x86 and egcs 1.1 on Linux-Alpha and egcs 1.0 on Sparc. This isn't
|
Linux-x86 and egcs 1.1 on Linux-Alpha and egcs 1.0 on Sparc. This isn't
|
||||||
as easy as it sounds...
|
as easy as it sounds...
|
||||||
|
|
||||||
Available form this site are the Python bindings of wxWindows.
|
Available form this site are the Python bindings of wxWindows.
|
||||||
Thanks to Robin Dunn for this tremendous contribution.
|
Thanks to Robin Dunn for this tremendous contribution.
|
||||||
Tkinter is dead, Java is dead, wxPython rules! That's all there is to say.
|
Tkinter is dead, Java is dead, wxPython rules! That's all there is to say.
|
||||||
|
|
||||||
Although only a few new classes have been added, many have been polished
|
Although only a few new classes have been added, many have been polished
|
||||||
up substantially, the most visible are wxListCtrl, wxTreeCtrl and
|
up substantially, the most visible are wxListCtrl, wxTreeCtrl and
|
||||||
all classes related to printing. Also the DialogEd now functions
|
all classes related to printing. Also the DialogEd now functions
|
||||||
much better than before. Drag'n'Drop is fucntional but probably won't
|
much better than before. Drag'n'Drop is fucntional but probably won't
|
||||||
be perfect until we use GTK 1.2 and its much improved DnD features.
|
be perfect until we use GTK 1.2 and its much improved DnD features.
|
||||||
|
|
||||||
wxClipboard has arrived and works for text. Other formats have not been
|
wxClipboard has arrived and works for text. Other formats have not been
|
||||||
tested carefully yet.
|
tested carefully yet.
|
||||||
|
|
||||||
wxMiniFrame has been added which might be useful for docking toolbars
|
wxMiniFrame has been added which might be useful for docking toolbars
|
||||||
etc. Someone has already done that for the MSW port and we hope to
|
etc. Someone has already done that for the MSW port and we hope to
|
||||||
include his very nice work later.
|
include his very nice work later.
|
||||||
|
|
||||||
wxDirDialog has been added (thanks to Harm von der Heijden).
|
wxDirDialog has been added (thanks to Harm von der Heijden).
|
||||||
|
|
||||||
The entite "tab traveral" system for moving from item to item in
|
The entite "tab traveral" system for moving from item to item in
|
||||||
a dialog has been rewritten. It now completely overrides the
|
a dialog has been rewritten. It now completely overrides the
|
||||||
not-so-well-done GTK native tab system.
|
not-so-well-done GTK native tab system.
|
||||||
|
|
||||||
Quite much has been done to improve the wxImage class, which is now
|
Quite much has been done to improve the wxImage class, which is now
|
||||||
available in the Windows port as well. Very useful for anything related
|
available in the Windows port as well. Very useful for anything related
|
||||||
to image processing. wxGTK also uses this class internally e.g. to scale
|
to image processing. wxGTK also uses this class internally e.g. to scale
|
||||||
bitmaps when the scale factor (e.g. zooming) of a drawing context
|
bitmaps when the scale factor (e.g. zooming) of a drawing context
|
||||||
has changed.
|
has changed.
|
||||||
|
|
||||||
Some of the small and handy classes (wxDate, wxTime, wxVariant) have
|
Some of the small and handy classes (wxDate, wxTime, wxVariant) have
|
||||||
received a face-lift. wxList has been rewritten to make it possible
|
received a face-lift. wxList has been rewritten to make it possible
|
||||||
to write type-safe lists. The collection of utility functions (wxFileFind etc)
|
to write type-safe lists. The collection of utility functions (wxFileFind etc)
|
||||||
has been revamped and cleaned-up (thanks to Vadim Zeitlin, who has also
|
has been revamped and cleaned-up (thanks to Vadim Zeitlin, who has also
|
||||||
greatly enhanced many basic classes, ranging wxString to the debug and
|
greatly enhanced many basic classes, ranging wxString to the debug and
|
||||||
log system).
|
log system).
|
||||||
|
|
||||||
We removed some constructors of GDI classes (such as wxPen, wxColour)
|
We removed some constructors of GDI classes (such as wxPen, wxColour)
|
||||||
which took a pointer as a parameter. This lead to many errors among users
|
which took a pointer as a parameter. This lead to many errors among users
|
||||||
resulting in unexpected behaviour so it was decided to remove these
|
resulting in unexpected behaviour so it was decided to remove these
|
||||||
constructors.
|
constructors.
|
||||||
|
|
||||||
As the number of users and the number of test programs and samples
|
As the number of users and the number of test programs and samples
|
||||||
is steadialy rising the core classes of wxWindows for MSW and GTK 1.0
|
is steadialy rising the core classes of wxWindows for MSW and GTK 1.0
|
||||||
can be considered to be very stable if not outright bug-free. I haven't
|
can be considered to be very stable if not outright bug-free. I haven't
|
||||||
|
@@ -384,15 +384,15 @@ void MyFrame::OnEnumerateFamiliesForEncoding(wxCommandEvent& WXUNUSED(event))
|
|||||||
|
|
||||||
static const char *encodingNames[] =
|
static const char *encodingNames[] =
|
||||||
{
|
{
|
||||||
"Western European (ISO-8859-1)",
|
"West European (Latin 1)",
|
||||||
"Central European (ISO-8859-2)",
|
"Central European (Latin 2)",
|
||||||
"Cyrillic (ISO-8859-5)",
|
"Cyrillic (Latin 5)",
|
||||||
"Greek (ISO-8859-7)",
|
"Greek (Latin 7)",
|
||||||
"Western European with Euro (ISO-8859-15)",
|
"West European new (Latin 0)",
|
||||||
"KOI8-R",
|
"KOI8-R",
|
||||||
"Windows Central European (CP 1250)",
|
"Windows Latin 2",
|
||||||
"Windows Cyrillic (CP 1251)",
|
"Windows Cyrillic",
|
||||||
"Windows Western European (CP 1252)",
|
"Windows Latin 1",
|
||||||
};
|
};
|
||||||
|
|
||||||
int n = wxGetSingleChoiceIndex("Choose an encoding", "Font demo",
|
int n = wxGetSingleChoiceIndex("Choose an encoding", "Font demo",
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#include "../common/unictabl.inc"
|
#include "../common/unictabl.inc"
|
||||||
#else
|
#else
|
||||||
#include "unictabl.inc"
|
#include "unictabl.inc"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if wxUSE_WCHAR_T
|
#if wxUSE_WCHAR_T
|
||||||
@@ -39,7 +39,7 @@ static wxUint16* LINKAGEMODE GetEncTable(wxFontEncoding enc)
|
|||||||
{
|
{
|
||||||
for (int i = 0; encodings_list[i].table != NULL; i++)
|
for (int i = 0; encodings_list[i].table != NULL; i++)
|
||||||
{
|
{
|
||||||
if (encodings_list[i].encoding == enc)
|
if (encodings_list[i].encoding == enc)
|
||||||
return encodings_list[i].table;
|
return encodings_list[i].table;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
@@ -61,12 +61,12 @@ static int LINKAGEMODE CompareCharsetItems(const void *i1, const void *i2)
|
|||||||
static CharsetItem* LINKAGEMODE BuildReverseTable(wxUint16 *tbl)
|
static CharsetItem* LINKAGEMODE BuildReverseTable(wxUint16 *tbl)
|
||||||
{
|
{
|
||||||
CharsetItem *rev = new CharsetItem[128];
|
CharsetItem *rev = new CharsetItem[128];
|
||||||
|
|
||||||
for (int i = 0; i < 128; i++)
|
for (int i = 0; i < 128; i++)
|
||||||
rev[i].c = 128 + i, rev[i].u = tbl[i];
|
rev[i].c = 128 + i, rev[i].u = tbl[i];
|
||||||
|
|
||||||
qsort(rev, 128, sizeof(CharsetItem), CompareCharsetItems);
|
qsort(rev, 128, sizeof(CharsetItem), CompareCharsetItems);
|
||||||
|
|
||||||
return rev;
|
return rev;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -93,17 +93,17 @@ bool wxEncodingConverter::Init(wxFontEncoding input_enc, wxFontEncoding output_e
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (input_enc == output_enc) {m_JustCopy = TRUE; return TRUE;}
|
if (input_enc == output_enc) {m_JustCopy = TRUE; return TRUE;}
|
||||||
|
|
||||||
m_UnicodeOutput = (output_enc == wxFONTENCODING_UNICODE);
|
m_UnicodeOutput = (output_enc == wxFONTENCODING_UNICODE);
|
||||||
m_JustCopy = FALSE;
|
m_JustCopy = FALSE;
|
||||||
|
|
||||||
if (input_enc == wxFONTENCODING_UNICODE)
|
if (input_enc == wxFONTENCODING_UNICODE)
|
||||||
{
|
{
|
||||||
if ((out_tbl = GetEncTable(output_enc)) == NULL) return FALSE;
|
if ((out_tbl = GetEncTable(output_enc)) == NULL) return FALSE;
|
||||||
|
|
||||||
m_Table = new tchar[65536];
|
m_Table = new tchar[65536];
|
||||||
for (i = 0; i < 128; i++) m_Table[i] = (tchar)i; // 7bit ASCII
|
for (i = 0; i < 128; i++) m_Table[i] = (tchar)i; // 7bit ASCII
|
||||||
for (i = 128; i < 65536; i++) m_Table[i] = (tchar)'?';
|
for (i = 128; i < 65536; i++) m_Table[i] = (tchar)'?';
|
||||||
// FIXME - this should be character that means `unicode to charset' impossible, not '?'
|
// FIXME - this should be character that means `unicode to charset' impossible, not '?'
|
||||||
|
|
||||||
if (method == wxCONVERT_SUBSTITUTE)
|
if (method == wxCONVERT_SUBSTITUTE)
|
||||||
@@ -118,7 +118,7 @@ bool wxEncodingConverter::Init(wxFontEncoding input_enc, wxFontEncoding output_e
|
|||||||
m_UnicodeInput = TRUE;
|
m_UnicodeInput = TRUE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ((in_tbl = GetEncTable(input_enc)) == NULL) return FALSE;
|
if ((in_tbl = GetEncTable(input_enc)) == NULL) return FALSE;
|
||||||
@@ -126,33 +126,33 @@ bool wxEncodingConverter::Init(wxFontEncoding input_enc, wxFontEncoding output_e
|
|||||||
if ((out_tbl = GetEncTable(output_enc)) == NULL) return FALSE;
|
if ((out_tbl = GetEncTable(output_enc)) == NULL) return FALSE;
|
||||||
|
|
||||||
m_UnicodeInput = FALSE;
|
m_UnicodeInput = FALSE;
|
||||||
|
|
||||||
m_Table = new tchar[256];
|
m_Table = new tchar[256];
|
||||||
for (i = 0; i < 128; i++) m_Table[i] = (tchar)i; // 7bit ASCII
|
for (i = 0; i < 128; i++) m_Table[i] = (tchar)i; // 7bit ASCII
|
||||||
|
|
||||||
if (output_enc == wxFONTENCODING_UNICODE)
|
if (output_enc == wxFONTENCODING_UNICODE)
|
||||||
{
|
{
|
||||||
for (i = 0; i < 128; i++) m_Table[128 + i] = (tchar)in_tbl[i];
|
for (i = 0; i < 128; i++) m_Table[128 + i] = (tchar)in_tbl[i];
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
CharsetItem *rev = BuildReverseTable(out_tbl);
|
CharsetItem *rev = BuildReverseTable(out_tbl);
|
||||||
CharsetItem *item, key;
|
CharsetItem *item, key;
|
||||||
|
|
||||||
for (i = 0; i < 128; i++)
|
for (i = 0; i < 128; i++)
|
||||||
{
|
{
|
||||||
key.u = in_tbl[i];
|
key.u = in_tbl[i];
|
||||||
item = (CharsetItem*) bsearch(&key, rev, 128, sizeof(CharsetItem), CompareCharsetItems);
|
item = (CharsetItem*) bsearch(&key, rev, 128, sizeof(CharsetItem), CompareCharsetItems);
|
||||||
if (item == NULL && method == wxCONVERT_SUBSTITUTE)
|
if (item == NULL && method == wxCONVERT_SUBSTITUTE)
|
||||||
item = (CharsetItem*) bsearch(&key, encoding_unicode_fallback,
|
item = (CharsetItem*) bsearch(&key, encoding_unicode_fallback,
|
||||||
encoding_unicode_fallback_count, sizeof(CharsetItem), CompareCharsetItems);
|
encoding_unicode_fallback_count, sizeof(CharsetItem), CompareCharsetItems);
|
||||||
if (item)
|
if (item)
|
||||||
m_Table[128 + i] = (tchar)item -> c;
|
m_Table[128 + i] = (tchar)item -> c;
|
||||||
else
|
else
|
||||||
m_Table[128 + i] = 128 + i; // don't know => don't touch
|
m_Table[128 + i] = 128 + i; // don't know => don't touch
|
||||||
}
|
}
|
||||||
|
|
||||||
delete[] rev;
|
delete[] rev;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
@@ -174,9 +174,9 @@ void wxEncodingConverter::Convert(const char* input, char* output)
|
|||||||
strcpy(output, input);
|
strcpy(output, input);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxASSERT_MSG(m_Table != NULL, wxT("You must call wxEncodingConverter::Init() before actually converting!"));
|
wxASSERT_MSG(m_Table != NULL, wxT("You must call wxEncodingConverter::Init() before actually converting!"));
|
||||||
|
|
||||||
for (i = input, o = output; *i != 0;)
|
for (i = input, o = output; *i != 0;)
|
||||||
*(o++) = (char)(m_Table[(wxUint8)*(i++)]);
|
*(o++) = (char)(m_Table[(wxUint8)*(i++)]);
|
||||||
*o = 0;
|
*o = 0;
|
||||||
@@ -200,9 +200,9 @@ void wxEncodingConverter::Convert(const char* input, wchar_t* output)
|
|||||||
*o = 0;
|
*o = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxASSERT_MSG(m_Table != NULL, wxT("You must call wxEncodingConverter::Init() before actually converting!"));
|
wxASSERT_MSG(m_Table != NULL, wxT("You must call wxEncodingConverter::Init() before actually converting!"));
|
||||||
|
|
||||||
for (i = input, o = output; *i != 0;)
|
for (i = input, o = output; *i != 0;)
|
||||||
*(o++) = (wchar_t)(m_Table[(wxUint8)*(i++)]);
|
*(o++) = (wchar_t)(m_Table[(wxUint8)*(i++)]);
|
||||||
*o = 0;
|
*o = 0;
|
||||||
@@ -225,9 +225,9 @@ void wxEncodingConverter::Convert(const wchar_t* input, char* output)
|
|||||||
*o = 0;
|
*o = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxASSERT_MSG(m_Table != NULL, wxT("You must call wxEncodingConverter::Init() before actually converting!"));
|
wxASSERT_MSG(m_Table != NULL, wxT("You must call wxEncodingConverter::Init() before actually converting!"));
|
||||||
|
|
||||||
for (i = input, o = output; *i != 0;)
|
for (i = input, o = output; *i != 0;)
|
||||||
*(o++) = (char)(m_Table[(wxUint16)*(i++)]);
|
*(o++) = (char)(m_Table[(wxUint16)*(i++)]);
|
||||||
*o = 0;
|
*o = 0;
|
||||||
@@ -251,9 +251,9 @@ void wxEncodingConverter::Convert(const wchar_t* input, wchar_t* output)
|
|||||||
*o = 0;
|
*o = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxASSERT_MSG(m_Table != NULL, wxT("You must call wxEncodingConverter::Init() before actually converting!"));
|
wxASSERT_MSG(m_Table != NULL, wxT("You must call wxEncodingConverter::Init() before actually converting!"));
|
||||||
|
|
||||||
for (i = input, o = output; *i != 0;)
|
for (i = input, o = output; *i != 0;)
|
||||||
*(o++) = (wchar_t)(m_Table[(wxUint8)*(i++)]);
|
*(o++) = (wchar_t)(m_Table[(wxUint8)*(i++)]);
|
||||||
*o = 0;
|
*o = 0;
|
||||||
@@ -265,12 +265,12 @@ void wxEncodingConverter::Convert(const wchar_t* input, wchar_t* output)
|
|||||||
wxString wxEncodingConverter::Convert(const wxString& input)
|
wxString wxEncodingConverter::Convert(const wxString& input)
|
||||||
{
|
{
|
||||||
if (m_JustCopy) return input;
|
if (m_JustCopy) return input;
|
||||||
|
|
||||||
wxString s;
|
wxString s;
|
||||||
const wxChar *i;
|
const wxChar *i;
|
||||||
|
|
||||||
wxASSERT_MSG(m_Table != NULL, wxT("You must call wxEncodingConverter::Init() before actually converting!"));
|
wxASSERT_MSG(m_Table != NULL, wxT("You must call wxEncodingConverter::Init() before actually converting!"));
|
||||||
|
|
||||||
if (m_UnicodeInput)
|
if (m_UnicodeInput)
|
||||||
for (i = input.c_str(); *i != 0; i++)
|
for (i = input.c_str(); *i != 0; i++)
|
||||||
s << (wxChar)(m_Table[(wxUint16)*i]);
|
s << (wxChar)(m_Table[(wxUint16)*i]);
|
||||||
@@ -287,7 +287,7 @@ wxString wxEncodingConverter::Convert(const wxString& input)
|
|||||||
|
|
||||||
|
|
||||||
// Following tables describe classes of encoding equivalence.
|
// Following tables describe classes of encoding equivalence.
|
||||||
//
|
//
|
||||||
|
|
||||||
#define STOP wxFONTENCODING_SYSTEM
|
#define STOP wxFONTENCODING_SYSTEM
|
||||||
|
|
||||||
@@ -296,17 +296,17 @@ wxString wxEncodingConverter::Convert(const wxString& input)
|
|||||||
// max no. of encodings for one language used on one platform
|
// max no. of encodings for one language used on one platform
|
||||||
// Anybody thinks 5 is not enough? ;-)
|
// Anybody thinks 5 is not enough? ;-)
|
||||||
|
|
||||||
static wxFontEncoding
|
static wxFontEncoding
|
||||||
EquivalentEncodings[][NUM_OF_PLATFORMS][ENC_PER_PLATFORM+1] = {
|
EquivalentEncodings[][NUM_OF_PLATFORMS][ENC_PER_PLATFORM+1] = {
|
||||||
|
|
||||||
// *** Please put more common encodings as first! ***
|
// *** Please put more common encodings as first! ***
|
||||||
|
|
||||||
// Western European
|
// West European
|
||||||
{
|
{
|
||||||
/* unix */ {wxFONTENCODING_ISO8859_1, wxFONTENCODING_ISO8859_15, STOP},
|
/* unix */ {wxFONTENCODING_ISO8859_1, wxFONTENCODING_ISO8859_15, STOP},
|
||||||
/* windows */ {wxFONTENCODING_CP1252, STOP},
|
/* windows */ {wxFONTENCODING_CP1252, STOP},
|
||||||
/* os2 */ {STOP},
|
/* os2 */ {STOP},
|
||||||
/* mac */ {STOP}
|
/* mac */ {STOP}
|
||||||
},
|
},
|
||||||
|
|
||||||
// Central European
|
// Central European
|
||||||
@@ -314,15 +314,15 @@ static wxFontEncoding
|
|||||||
/* unix */ {wxFONTENCODING_ISO8859_2, STOP},
|
/* unix */ {wxFONTENCODING_ISO8859_2, STOP},
|
||||||
/* windows */ {wxFONTENCODING_CP1250, STOP},
|
/* windows */ {wxFONTENCODING_CP1250, STOP},
|
||||||
/* os2 */ {STOP},
|
/* os2 */ {STOP},
|
||||||
/* mac */ {STOP}
|
/* mac */ {STOP}
|
||||||
},
|
},
|
||||||
|
|
||||||
// Baltic
|
// Baltic
|
||||||
{
|
{
|
||||||
/* unix */ {wxFONTENCODING_ISO8859_13, wxFONTENCODING_ISO8859_4, STOP},
|
/* unix */ {wxFONTENCODING_ISO8859_13, STOP},
|
||||||
/* windows */ {wxFONTENCODING_CP1257, STOP},
|
/* windows */ {wxFONTENCODING_CP1257, STOP},
|
||||||
/* os2 */ {STOP},
|
/* os2 */ {STOP},
|
||||||
/* mac */ {STOP}
|
/* mac */ {STOP}
|
||||||
},
|
},
|
||||||
|
|
||||||
// Hebrew
|
// Hebrew
|
||||||
@@ -330,7 +330,7 @@ static wxFontEncoding
|
|||||||
/* unix */ {wxFONTENCODING_ISO8859_8, STOP},
|
/* unix */ {wxFONTENCODING_ISO8859_8, STOP},
|
||||||
/* windows */ {wxFONTENCODING_CP1255, STOP},
|
/* windows */ {wxFONTENCODING_CP1255, STOP},
|
||||||
/* os2 */ {STOP},
|
/* os2 */ {STOP},
|
||||||
/* mac */ {STOP}
|
/* mac */ {STOP}
|
||||||
},
|
},
|
||||||
|
|
||||||
// Greek
|
// Greek
|
||||||
@@ -338,7 +338,7 @@ static wxFontEncoding
|
|||||||
/* unix */ {wxFONTENCODING_ISO8859_7, STOP},
|
/* unix */ {wxFONTENCODING_ISO8859_7, STOP},
|
||||||
/* windows */ {wxFONTENCODING_CP1253, STOP},
|
/* windows */ {wxFONTENCODING_CP1253, STOP},
|
||||||
/* os2 */ {STOP},
|
/* os2 */ {STOP},
|
||||||
/* mac */ {STOP}
|
/* mac */ {STOP}
|
||||||
},
|
},
|
||||||
|
|
||||||
// Arabic
|
// Arabic
|
||||||
@@ -346,7 +346,7 @@ static wxFontEncoding
|
|||||||
/* unix */ {wxFONTENCODING_ISO8859_6, STOP},
|
/* unix */ {wxFONTENCODING_ISO8859_6, STOP},
|
||||||
/* windows */ {wxFONTENCODING_CP1256, STOP},
|
/* windows */ {wxFONTENCODING_CP1256, STOP},
|
||||||
/* os2 */ {STOP},
|
/* os2 */ {STOP},
|
||||||
/* mac */ {STOP}
|
/* mac */ {STOP}
|
||||||
},
|
},
|
||||||
|
|
||||||
// Turkish
|
// Turkish
|
||||||
@@ -354,15 +354,24 @@ static wxFontEncoding
|
|||||||
/* unix */ {wxFONTENCODING_ISO8859_9, STOP},
|
/* unix */ {wxFONTENCODING_ISO8859_9, STOP},
|
||||||
/* windows */ {wxFONTENCODING_CP1254, STOP},
|
/* windows */ {wxFONTENCODING_CP1254, STOP},
|
||||||
/* os2 */ {STOP},
|
/* os2 */ {STOP},
|
||||||
/* mac */ {STOP}
|
/* mac */ {STOP}
|
||||||
},
|
},
|
||||||
|
|
||||||
// Cyrillic
|
// Cyrillic
|
||||||
|
{
|
||||||
|
/* unix */ {wxFONTENCODING_ISO8859_13, wxFONTENCODING_ISO8859_4,
|
||||||
|
wxFONTENCODING_ISO8859_15, wxFONTENCODING_ISO8859_1, STOP},
|
||||||
|
/* windows */ {wxFONTENCODING_CP1257, wxFONTENCODING_CP1252, STOP},
|
||||||
|
/* os2 */ {STOP},
|
||||||
|
/* mac */ {STOP}
|
||||||
|
},
|
||||||
|
|
||||||
|
// Russia and other KOI-8 users:
|
||||||
{
|
{
|
||||||
/* unix */ {wxFONTENCODING_KOI8, wxFONTENCODING_ISO8859_5, STOP},
|
/* unix */ {wxFONTENCODING_KOI8, wxFONTENCODING_ISO8859_5, STOP},
|
||||||
/* windows */ {wxFONTENCODING_CP1251, STOP},
|
/* windows */ {wxFONTENCODING_CP1251, STOP},
|
||||||
/* os2 */ {STOP},
|
/* os2 */ {STOP},
|
||||||
/* mac */ {STOP}
|
/* mac */ {STOP}
|
||||||
},
|
},
|
||||||
|
|
||||||
{{STOP},{STOP},{STOP},{STOP}} /* Terminator */
|
{{STOP},{STOP},{STOP},{STOP}} /* Terminator */
|
||||||
@@ -386,7 +395,7 @@ wxFontEncodingArray wxEncodingConverter::GetPlatformEquivalents(wxFontEncoding e
|
|||||||
platform = wxPLATFORM_MAC;
|
platform = wxPLATFORM_MAC;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int i, clas, e ;
|
int i, clas, e ;
|
||||||
wxFontEncoding *f;
|
wxFontEncoding *f;
|
||||||
wxFontEncodingArray arr;
|
wxFontEncodingArray arr;
|
||||||
@@ -402,11 +411,11 @@ wxFontEncodingArray wxEncodingConverter::GetPlatformEquivalents(wxFontEncoding e
|
|||||||
if (*f == enc) arr.Add(enc);
|
if (*f == enc) arr.Add(enc);
|
||||||
for (f = EquivalentEncodings[clas][platform]; *f != STOP; f++)
|
for (f = EquivalentEncodings[clas][platform]; *f != STOP; f++)
|
||||||
if (arr.Index(*f) == wxNOT_FOUND) arr.Add(*f);
|
if (arr.Index(*f) == wxNOT_FOUND) arr.Add(*f);
|
||||||
i = NUM_OF_PLATFORMS/*hack*/; break;
|
i = NUM_OF_PLATFORMS/*hack*/; break;
|
||||||
}
|
}
|
||||||
clas++;
|
clas++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return arr;
|
return arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -417,7 +426,7 @@ wxFontEncodingArray wxEncodingConverter::GetAllEquivalents(wxFontEncoding enc)
|
|||||||
int i, clas, e, j ;
|
int i, clas, e, j ;
|
||||||
wxFontEncoding *f;
|
wxFontEncoding *f;
|
||||||
wxFontEncodingArray arr;
|
wxFontEncodingArray arr;
|
||||||
|
|
||||||
arr = GetPlatformEquivalents(enc); // we want them to be first items in array
|
arr = GetPlatformEquivalents(enc); // we want them to be first items in array
|
||||||
|
|
||||||
clas = 0;
|
clas = 0;
|
||||||
@@ -428,12 +437,12 @@ wxFontEncodingArray wxEncodingConverter::GetAllEquivalents(wxFontEncoding enc)
|
|||||||
if (EquivalentEncodings[clas][i][e] == enc)
|
if (EquivalentEncodings[clas][i][e] == enc)
|
||||||
{
|
{
|
||||||
for (j = 0; j < NUM_OF_PLATFORMS; j++)
|
for (j = 0; j < NUM_OF_PLATFORMS; j++)
|
||||||
for (f = EquivalentEncodings[clas][j]; *f != STOP; f++)
|
for (f = EquivalentEncodings[clas][j]; *f != STOP; f++)
|
||||||
if (arr.Index(*f) == wxNOT_FOUND) arr.Add(*f);
|
if (arr.Index(*f) == wxNOT_FOUND) arr.Add(*f);
|
||||||
i = NUM_OF_PLATFORMS/*hack*/; break;
|
i = NUM_OF_PLATFORMS/*hack*/; break;
|
||||||
}
|
}
|
||||||
clas++;
|
clas++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return arr;
|
return arr;
|
||||||
}
|
}
|
||||||
|
@@ -94,11 +94,11 @@ static wxFontEncoding gs_encodings[] =
|
|||||||
// the descriptions for them
|
// the descriptions for them
|
||||||
static const wxChar* gs_encodingDescs[] =
|
static const wxChar* gs_encodingDescs[] =
|
||||||
{
|
{
|
||||||
wxTRANSLATE( "Western European (ISO-8859-1)" ),
|
wxTRANSLATE( "Western European (ISO-8859-1/Latin 1)" ),
|
||||||
wxTRANSLATE( "Central European (ISO-8859-2)" ),
|
wxTRANSLATE( "Central European (ISO-8859-2/Latin 2)" ),
|
||||||
wxTRANSLATE( "Esperanto (ISO-8859-3)" ),
|
wxTRANSLATE( "Esperanto (ISO-8859-3)" ),
|
||||||
wxTRANSLATE( "Baltic (old) (ISO-8859-4)" ),
|
wxTRANSLATE( "Baltic (old) (ISO-8859-4)" ),
|
||||||
wxTRANSLATE( "Cyrillic (ISO-8859-5)" ),
|
wxTRANSLATE( "Cyrillic (Latin 5)" ),
|
||||||
wxTRANSLATE( "Arabic (ISO-8859-6)" ),
|
wxTRANSLATE( "Arabic (ISO-8859-6)" ),
|
||||||
wxTRANSLATE( "Greek (ISO-8859-7)" ),
|
wxTRANSLATE( "Greek (ISO-8859-7)" ),
|
||||||
wxTRANSLATE( "Hebrew (ISO-8859-8)" ),
|
wxTRANSLATE( "Hebrew (ISO-8859-8)" ),
|
||||||
@@ -108,7 +108,7 @@ static const wxChar* gs_encodingDescs[] =
|
|||||||
wxTRANSLATE( "Indian (ISO-8859-12)" ),
|
wxTRANSLATE( "Indian (ISO-8859-12)" ),
|
||||||
wxTRANSLATE( "Baltic (ISO-8859-13)" ),
|
wxTRANSLATE( "Baltic (ISO-8859-13)" ),
|
||||||
wxTRANSLATE( "Celtic (ISO-8859-14)" ),
|
wxTRANSLATE( "Celtic (ISO-8859-14)" ),
|
||||||
wxTRANSLATE( "Western European with Euro (ISO-8859-15)" ),
|
wxTRANSLATE( "Western European with Euro (ISO-8859-15/Latin 0)" ),
|
||||||
wxTRANSLATE( "KOI8-R" ),
|
wxTRANSLATE( "KOI8-R" ),
|
||||||
wxTRANSLATE( "Windows Central European (CP 1250)" ),
|
wxTRANSLATE( "Windows Central European (CP 1250)" ),
|
||||||
wxTRANSLATE( "Windows Cyrillic (CP 1251)" ),
|
wxTRANSLATE( "Windows Cyrillic (CP 1251)" ),
|
||||||
|
@@ -1387,12 +1387,12 @@ void wxGridCellEditorEvtHandler::OnKeyDown(wxKeyEvent& event)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case WXK_TAB:
|
case WXK_TAB:
|
||||||
event.Skip( m_grid->GetEventHandler()->ProcessEvent( event ) );
|
event.Skip( m_grid->ProcessEvent( event ) );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WXK_RETURN:
|
case WXK_RETURN:
|
||||||
case WXK_NUMPAD_ENTER:
|
case WXK_NUMPAD_ENTER:
|
||||||
if (!m_grid->GetEventHandler()->ProcessEvent(event))
|
if (!m_grid->ProcessEvent(event))
|
||||||
m_editor->HandleReturn(event);
|
m_editor->HandleReturn(event);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -3117,12 +3117,12 @@ void wxGridRowLabelWindow::OnMouseEvent( wxMouseEvent& event )
|
|||||||
//
|
//
|
||||||
void wxGridRowLabelWindow::OnKeyDown( wxKeyEvent& event )
|
void wxGridRowLabelWindow::OnKeyDown( wxKeyEvent& event )
|
||||||
{
|
{
|
||||||
if ( !m_owner->GetEventHandler()->ProcessEvent( event ) ) event.Skip();
|
if ( !m_owner->ProcessEvent( event ) ) event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxGridRowLabelWindow::OnKeyUp( wxKeyEvent& event )
|
void wxGridRowLabelWindow::OnKeyUp( wxKeyEvent& event )
|
||||||
{
|
{
|
||||||
if ( !m_owner->GetEventHandler()->ProcessEvent( event ) ) event.Skip();
|
if ( !m_owner->ProcessEvent( event ) ) event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -3176,12 +3176,12 @@ void wxGridColLabelWindow::OnMouseEvent( wxMouseEvent& event )
|
|||||||
//
|
//
|
||||||
void wxGridColLabelWindow::OnKeyDown( wxKeyEvent& event )
|
void wxGridColLabelWindow::OnKeyDown( wxKeyEvent& event )
|
||||||
{
|
{
|
||||||
if ( !m_owner->GetEventHandler()->ProcessEvent( event ) ) event.Skip();
|
if ( !m_owner->ProcessEvent( event ) ) event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxGridColLabelWindow::OnKeyUp( wxKeyEvent& event )
|
void wxGridColLabelWindow::OnKeyUp( wxKeyEvent& event )
|
||||||
{
|
{
|
||||||
if ( !m_owner->GetEventHandler()->ProcessEvent( event ) ) event.Skip();
|
if ( !m_owner->ProcessEvent( event ) ) event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -3234,12 +3234,12 @@ void wxGridCornerLabelWindow::OnMouseEvent( wxMouseEvent& event )
|
|||||||
//
|
//
|
||||||
void wxGridCornerLabelWindow::OnKeyDown( wxKeyEvent& event )
|
void wxGridCornerLabelWindow::OnKeyDown( wxKeyEvent& event )
|
||||||
{
|
{
|
||||||
if ( !m_owner->GetEventHandler()->ProcessEvent( event ) ) event.Skip();
|
if ( !m_owner->ProcessEvent( event ) ) event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxGridCornerLabelWindow::OnKeyUp( wxKeyEvent& event )
|
void wxGridCornerLabelWindow::OnKeyUp( wxKeyEvent& event )
|
||||||
{
|
{
|
||||||
if ( !m_owner->GetEventHandler()->ProcessEvent( event ) ) event.Skip();
|
if ( !m_owner->ProcessEvent( event ) ) event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -3308,12 +3308,12 @@ void wxGridWindow::OnMouseEvent( wxMouseEvent& event )
|
|||||||
//
|
//
|
||||||
void wxGridWindow::OnKeyDown( wxKeyEvent& event )
|
void wxGridWindow::OnKeyDown( wxKeyEvent& event )
|
||||||
{
|
{
|
||||||
if ( !m_owner->GetEventHandler()->ProcessEvent( event ) ) event.Skip();
|
if ( !m_owner->ProcessEvent( event ) ) event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxGridWindow::OnKeyUp( wxKeyEvent& event )
|
void wxGridWindow::OnKeyUp( wxKeyEvent& event )
|
||||||
{
|
{
|
||||||
if ( !m_owner->GetEventHandler()->ProcessEvent( event ) ) event.Skip();
|
if ( !m_owner->ProcessEvent( event ) ) event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxGridWindow::OnEraseBackground( wxEraseEvent& WXUNUSED(event) )
|
void wxGridWindow::OnEraseBackground( wxEraseEvent& WXUNUSED(event) )
|
||||||
|
@@ -182,6 +182,9 @@ gint wxapp_idle_callback( gpointer WXUNUSED(data) )
|
|||||||
// thread so we must lock it here ourselves
|
// thread so we must lock it here ourselves
|
||||||
gdk_threads_enter();
|
gdk_threads_enter();
|
||||||
|
|
||||||
|
// Sent idle event to all who request them
|
||||||
|
while (wxTheApp->ProcessIdle()) { }
|
||||||
|
|
||||||
/* Indicate that we are now in idle mode - even so deeply
|
/* Indicate that we are now in idle mode - even so deeply
|
||||||
in idle mode that we don't get any idle events anymore.
|
in idle mode that we don't get any idle events anymore.
|
||||||
this is like wxMSW where an idle event is sent only
|
this is like wxMSW where an idle event is sent only
|
||||||
@@ -190,9 +193,6 @@ gint wxapp_idle_callback( gpointer WXUNUSED(data) )
|
|||||||
g_isIdle = TRUE;
|
g_isIdle = TRUE;
|
||||||
wxTheApp->m_idleTag = 0;
|
wxTheApp->m_idleTag = 0;
|
||||||
|
|
||||||
// Sent idle event to all who request them
|
|
||||||
while (wxTheApp->ProcessIdle()) { }
|
|
||||||
|
|
||||||
// Release lock again
|
// Release lock again
|
||||||
gdk_threads_leave();
|
gdk_threads_leave();
|
||||||
|
|
||||||
|
@@ -42,8 +42,6 @@ bool wxGauge::Create( wxWindow *parent, wxWindowID id, int range,
|
|||||||
m_useProgressBar = TRUE;
|
m_useProgressBar = TRUE;
|
||||||
|
|
||||||
m_widget = gtk_progress_bar_new();
|
m_widget = gtk_progress_bar_new();
|
||||||
if( style & wxGA_VERTICAL)
|
|
||||||
gtk_progress_bar_set_orientation( GTK_PROGRESS_BAR(m_widget) , GTK_PROGRESS_BOTTOM_TO_TOP );
|
|
||||||
|
|
||||||
m_parent->DoAddChild( this );
|
m_parent->DoAddChild( this );
|
||||||
|
|
||||||
|
@@ -182,6 +182,9 @@ gint wxapp_idle_callback( gpointer WXUNUSED(data) )
|
|||||||
// thread so we must lock it here ourselves
|
// thread so we must lock it here ourselves
|
||||||
gdk_threads_enter();
|
gdk_threads_enter();
|
||||||
|
|
||||||
|
// Sent idle event to all who request them
|
||||||
|
while (wxTheApp->ProcessIdle()) { }
|
||||||
|
|
||||||
/* Indicate that we are now in idle mode - even so deeply
|
/* Indicate that we are now in idle mode - even so deeply
|
||||||
in idle mode that we don't get any idle events anymore.
|
in idle mode that we don't get any idle events anymore.
|
||||||
this is like wxMSW where an idle event is sent only
|
this is like wxMSW where an idle event is sent only
|
||||||
@@ -190,9 +193,6 @@ gint wxapp_idle_callback( gpointer WXUNUSED(data) )
|
|||||||
g_isIdle = TRUE;
|
g_isIdle = TRUE;
|
||||||
wxTheApp->m_idleTag = 0;
|
wxTheApp->m_idleTag = 0;
|
||||||
|
|
||||||
// Sent idle event to all who request them
|
|
||||||
while (wxTheApp->ProcessIdle()) { }
|
|
||||||
|
|
||||||
// Release lock again
|
// Release lock again
|
||||||
gdk_threads_leave();
|
gdk_threads_leave();
|
||||||
|
|
||||||
|
@@ -42,8 +42,6 @@ bool wxGauge::Create( wxWindow *parent, wxWindowID id, int range,
|
|||||||
m_useProgressBar = TRUE;
|
m_useProgressBar = TRUE;
|
||||||
|
|
||||||
m_widget = gtk_progress_bar_new();
|
m_widget = gtk_progress_bar_new();
|
||||||
if( style & wxGA_VERTICAL)
|
|
||||||
gtk_progress_bar_set_orientation( GTK_PROGRESS_BAR(m_widget) , GTK_PROGRESS_BOTTOM_TO_TOP );
|
|
||||||
|
|
||||||
m_parent->DoAddChild( this );
|
m_parent->DoAddChild( this );
|
||||||
|
|
||||||
|
@@ -106,20 +106,6 @@ int wxChoice::DoAppend(const wxString& item)
|
|||||||
wxLogLastError(wxT("SendMessage(CB_ADDSTRING)"));
|
wxLogLastError(wxT("SendMessage(CB_ADDSTRING)"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// if we were created empty, the choice is too small to show any items, so
|
|
||||||
// resize it - but as we do it once only, give it some reasonable size
|
|
||||||
if ( GetCount() == 1 )
|
|
||||||
{
|
|
||||||
wxSize size = GetSize();
|
|
||||||
int cx, cy;
|
|
||||||
wxGetCharSize(GetHWND(), &cx, &cy, &GetFont());
|
|
||||||
|
|
||||||
size.y = 11*EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy);
|
|
||||||
|
|
||||||
// don't call our SetSize() as it ignores the height parameter
|
|
||||||
wxControl::DoSetSize(-1, -1, size.x, size.y, wxSIZE_USE_EXISTING);
|
|
||||||
}
|
|
||||||
|
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -301,13 +287,7 @@ wxSize wxChoice::DoGetBestSize() const
|
|||||||
|
|
||||||
wChoice += 5*cx;
|
wChoice += 5*cx;
|
||||||
|
|
||||||
if ( nItems > 10 )
|
int hChoice = EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy);
|
||||||
{
|
|
||||||
// don't make the control too big
|
|
||||||
nItems = 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
int hChoice = EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy)*(nItems + 1);
|
|
||||||
|
|
||||||
return wxSize(wChoice, hChoice);
|
return wxSize(wChoice, hChoice);
|
||||||
}
|
}
|
||||||
|
@@ -1115,7 +1115,6 @@ void wxDC::SetBackgroundMode(int mode)
|
|||||||
::SetBkMode(GetHdc(), TRANSPARENT);
|
::SetBkMode(GetHdc(), TRANSPARENT);
|
||||||
else
|
else
|
||||||
::SetBkMode(GetHdc(), OPAQUE);
|
::SetBkMode(GetHdc(), OPAQUE);
|
||||||
Last change: AC 29 Jan 101 8:54 pm
|
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1441,7 +1440,7 @@ bool wxDC::DoBlit(wxCoord xdest, wxCoord ydest,
|
|||||||
// of the mask which is also contrary to the Windows one)
|
// of the mask which is also contrary to the Windows one)
|
||||||
success = ::MaskBlt(GetHdc(), xdest, ydest, width, height,
|
success = ::MaskBlt(GetHdc(), xdest, ydest, width, height,
|
||||||
GetHdcOf(*source), xsrc, ysrc,
|
GetHdcOf(*source), xsrc, ysrc,
|
||||||
(HBITMAP)mask->GetMaskBitmap(), xsrc, ysrc,
|
(HBITMAP)mask->GetMaskBitmap(), 0, 0,
|
||||||
MAKEROP4(dwRop, DSTCOPY)) != 0;
|
MAKEROP4(dwRop, DSTCOPY)) != 0;
|
||||||
|
|
||||||
if ( !success )
|
if ( !success )
|
||||||
|
24
wxPython/contrib/glcanvas/stub.cpp
Normal file
24
wxPython/contrib/glcanvas/stub.cpp
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/* Definitions for Windows/Unix exporting */
|
||||||
|
#if defined(__WIN32__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SWIGEXPORT(a) __declspec(dllexport) a
|
||||||
|
# else
|
||||||
|
# if defined(__BORLANDC__)
|
||||||
|
# define SWIGEXPORT(a) a _export
|
||||||
|
# else
|
||||||
|
# define SWIGEXPORT(a) a
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
# define SWIGEXPORT(a) a
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
#endif
|
||||||
|
SWIGEXPORT(void) initglcanvasc() {
|
||||||
|
}
|
||||||
|
|
||||||
|
|
24
wxPython/contrib/ogl/stub.cpp
Normal file
24
wxPython/contrib/ogl/stub.cpp
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/* Definitions for Windows/Unix exporting */
|
||||||
|
#if defined(__WIN32__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SWIGEXPORT(a) __declspec(dllexport) a
|
||||||
|
# else
|
||||||
|
# if defined(__BORLANDC__)
|
||||||
|
# define SWIGEXPORT(a) a _export
|
||||||
|
# else
|
||||||
|
# define SWIGEXPORT(a) a
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
# define SWIGEXPORT(a) a
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
#endif
|
||||||
|
SWIGEXPORT(void) initoglc() {
|
||||||
|
}
|
||||||
|
|
||||||
|
|
23
wxPython/contrib/stc/stub.cpp
Normal file
23
wxPython/contrib/stc/stub.cpp
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
/* Definitions for Windows/Unix exporting */
|
||||||
|
#if defined(__WIN32__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SWIGEXPORT(a) __declspec(dllexport) a
|
||||||
|
# else
|
||||||
|
# if defined(__BORLANDC__)
|
||||||
|
# define SWIGEXPORT(a) a _export
|
||||||
|
# else
|
||||||
|
# define SWIGEXPORT(a) a
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
# define SWIGEXPORT(a) a
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
#endif
|
||||||
|
SWIGEXPORT(void) initstc_c() {
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@@ -249,7 +249,7 @@ if not GL_ONLY:
|
|||||||
extra_compile_args = cflags,
|
extra_compile_args = cflags,
|
||||||
extra_link_args = lflags,
|
extra_link_args = lflags,
|
||||||
)
|
)
|
||||||
wxpExtensions.append(ext)
|
wxpExtensions.append(ext)
|
||||||
|
|
||||||
|
|
||||||
# Extension for the grid module
|
# Extension for the grid module
|
||||||
|
Reference in New Issue
Block a user