Commit Graph

8589 Commits

Author SHA1 Message Date
Robin Dunn
30aaddfe89 Added mixins subpackage to wxPython.lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 22:26:19 +00:00
Václav Slavík
8bc25b29f1 fixed à parsing (here too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 22:13:30 +00:00
Robin Dunn
90b2b1303a Added wave files to the distribution scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 22:02:56 +00:00
Robin Dunn
493f1553fd Cleanup up the demo a bit
Added wxWave

Added another patch for SWIG that optimizes the generated code some
and eliminates some unused type mappings in the type registry.
(Reduces it by about half!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 21:59:59 +00:00
George Tasker
c20a12bd55 XPMHAND.H dependency removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:43:30 +00:00
Robert Roebling
2d4511658d Applied patch for non-Latin keyboards.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:39:13 +00:00
Václav Slavík
ffe107c8c0 Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:34:49 +00:00
Václav Slavík
0d832cf788 applied modified patch #424894 (wxrcedit & bcc compilation fixes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:34:34 +00:00
Václav Slavík
8e49dc6301 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:33:30 +00:00
George Tasker
5d59e67a7b Added compile-time check to be sure that wxUSE_ODBC is set to 1 before attempting to compile this program, and error out telling the user to change the setting if they want to compile this program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:32:33 +00:00
Vadim Zeitlin
06b32ebe4f compilation fix for mouse hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 17:15:46 +00:00
Julian Smart
da7ed9b77e Bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 14:41:39 +00:00
Robin Dunn
856e03b753 Fixed OOR related problem in OGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 06:53:25 +00:00
Robin Dunn
9df61a29d2 Implemented the first phase of OOR (Original Object Return). See the
text in the demo for more details of what this means, but in a
nutshell methods such as wxWindow.GetParent or FindWindowById will now
return a shadow object of the proper type if it can.  By "proper type"
I mean that if the wxWindow pointer returned from FindWindowById
really points to a wxButton then the Python object constructed will be
of a wxButtonPtr class instead of wxWindowPtr as before.  This should
reduce or eliminiate the need for wxPyTypeCast.  (Woo Hoo!)  The
objects returned are still not the original Python object, but that is
the next step.  (Although it will probably only work on Python 2.1 and
beyond because it will use weak references.)

A few other minor tweaks and fixes and additions for things found
while doing the OOR stuff.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 05:20:01 +00:00
Robin Dunn
419c299ae5 Fixed wxPoint.__cmp__ and a few others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 02:32:22 +00:00
Vadim Zeitlin
3bdc265d9d merged fixes for accel and command event non propagation from 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 23:46:30 +00:00
Robin Dunn
9416aa89ca Implemented the first phase of OOR (Original Object Return). See the
text in the demo for more details of what this means, but in a
nutshell methods such as wxWindow.GetParent or FindWindowById will now
return a shadow object of the proper type if it can.  By "proper type"
I mean that if the wxWindow pointer returned from FindWindowById
really points to a wxButton then the Python object constructed will be
of a wxButtonPtr class instead of wxWindowPtr as before.  This should
reduce or eliminiate the need for wxPyTypeCast.  (Woo Hoo!)  The
objects returned are still not the original Python object, but that is
the next step.  (Although it will probably only work on Python 2.1 and
beyond because it will use weak references.)

A few other minor tweaks and fixes and additions for things found
while doing the OOR stuff.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 22:47:09 +00:00
Stefan Csomor
6618870d16 fixed wxWindow::SetCursor( wxNullCursor) for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 15:53:01 +00:00
Vadim Zeitlin
6603907dea don't annoy the user by repeating the question which had been already answered (and also make the question a bit more clear)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 15:51:09 +00:00
Julian Smart
5abf8c9d66 Call OnParentEnable from wxTextCtrl::Enable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 11:09:22 +00:00
Julian Smart
fdca68a670 Implemented OnParentEnable to allow widgets to reset their colours
after a wxWindow::Enable call


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 10:58:05 +00:00
Vadim Zeitlin
36bd690299 added wxLog::ClearTraceMasks()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 10:11:34 +00:00
Ron Lee
1912918cce typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 07:53:10 +00:00
Robin Dunn
f98de4487f Applied patch #423927, (Min size for stretch parts of wxBoxSizer)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 07:27:17 +00:00
Václav Slavík
4dc3fdec0c fixed wrong parsing of à (typo in tables)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 22:10:07 +00:00
Václav Slavík
c59b4b010e changed wxBitmap::CreateFromXpm to use wxBitmap(wxImage,int) ctor again -- it should work fine with BCC now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 22:07:59 +00:00
Václav Slavík
52f96deca1 removed wxImage::operator wxBitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 22:07:39 +00:00
Gilles Depeyrot
2461b2e716 correction for Mac OS X (M_PI is already defined)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 21:28:54 +00:00
Gilles Depeyrot
f9d3748bc0 corrections for Mac OS X Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 21:20:50 +00:00
Vadim Zeitlin
a224234132 FindFocus() and wxSpinCtrl fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 16:57:08 +00:00
Stefan Csomor
3dec57adfd icon support moved to wxBitmap, allowing for fully transparent usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 16:23:13 +00:00
Julian Smart
513903c4f9 Made wxWindow::Enable recursive in order to solve colouring problems; forced the colour
of a wxTextCtrl back to the custom colour in wxTextCtrl::Enable. This appears
to fix inconsistent colour problems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 15:53:11 +00:00
Vadim Zeitlin
19d7140ec2 applied patch 415912 (fixing problems with wxGrid attrs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 13:20:31 +00:00
Stefan Csomor
27419164ad workaround for notebook/tabctrl redraw bug, it is now not excluded from the local eraseRgn of the parent window, thus guaranteeing that the background is always correct
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 12:46:51 +00:00
Stefan Csomor
ca715d8835 corrected loop for calculating the proper updatergn taking into account only real subwindows that are shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 12:16:59 +00:00
Julian Smart
a88acabdd2 Applied patch #418555: wxTextCtrl uses wrong background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 12:01:48 +00:00
Julian Smart
19b726bbca Applied patch #403856 (utilscmn.cpp should translate special key names)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:54:18 +00:00
Julian Smart
69231000be Applied patch #421554: implementation of wxEVT_CONTEXT_MENU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:32:21 +00:00
Julian Smart
f80eabe5a2 Applied patch #421073 (making setup options work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:22:01 +00:00
Julian Smart
b07664068b Applied patch #420395 (adding wxCLIP_SIBBLINGS capability -- but not by default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:14:37 +00:00
David Webster
833615dd4d More scrolling fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 03:21:53 +00:00
Vadim Zeitlin
965784669a removed useless assert from wxArray::Alloc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 00:19:42 +00:00
Václav Slavík
8084a109b6 applied patch that fixes paper size handling under MSW and sets PD_SELECTION correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 22:04:27 +00:00
David Webster
2b75f58067 Modest fix for executables linking to the wx dll for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 19:55:35 +00:00
David Webster
aa06a8fdfb Enable this sample for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 19:53:48 +00:00
David Webster
e661fcd770 More scrolling stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 19:52:31 +00:00
Václav Slavík
23ca6e208f applied patch #424066
(a bit better attempt to detect system encoding in absence of LANGINFO)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 17:02:43 +00:00
Julian Smart
d7dcb93990 Corrected some casting errors -> XtPointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 14:51:00 +00:00
George Tasker
3f030b4804 Added buttons to allow a dump of DB DATATYPES and DB DIAGNOSTIC info via wxLogMessage() to the sample app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 13:12:36 +00:00
George Tasker
5a226de062 dBase fix on creating index
General cleanup of code in the sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 01:00:56 +00:00