Commit Graph

469 Commits

Author SHA1 Message Date
Robin Dunn
462f07cac2 Added some event handlers to show they work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-06 20:01:20 +00:00
Robin Dunn
4a61305d36 Added wxDllWidget from Vaclav Slavik which allows wx widgets derived
from wxWindow to be loaded from a C++ .dll (or .so) and be used in a
wxPython program, without the widget having to be SWIGged first.

Various updates for distribs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-06 19:59:37 +00:00
Robin Dunn
07c99b2608 wxRemotelyScrolledTreeCtrl now draws its own lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 21:29:50 +00:00
Robin Dunn
74bcba0e33 More fixes and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 20:58:19 +00:00
Robin Dunn
78e8819c2e Added SplitTree sample to the demo
Fixes for wxEditor and its FrogEdit sample

Misc. other stuff


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 20:41:03 +00:00
Robin Dunn
1918b6f789 Updated PyCrust contrib from Patrick O'Brian.
Added an enhanced wxEditor from Steve Howell and Adam Feuer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 02:25:39 +00:00
Robin Dunn
572c7069bb Updated contribs from Lorne White
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:33:32 +00:00
Robin Dunn
68673975c6 Tweaking this demo a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:18:30 +00:00
Robin Dunn
4416b50837 wxTipWindow is now a wxPopupTransientWindow instead of a wxFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:15:05 +00:00
Robin Dunn
611dc22cee Attempted to add the SplitTree gizmo classes, but it is not working on
MSW... :-(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 21:16:36 +00:00
Robin Dunn
c594325333 Changes to ensure that GDI objects returned from Python methods are
copied, not just left as references.  The old way was
counter-intuitive for Python.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-29 00:51:59 +00:00
Robin Dunn
7b7ac0ab51 Added wxChildFocusEvent
Updated wxHtmlWindow

Added wxEditableListBox


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 09:47:53 +00:00
Robin Dunn
2f4e928794 Changes needed to solve wxPython's OOR problem for the wxOGL shapes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 02:56:59 +00:00
Robin Dunn
6e8a778af3 Added wxDynamicSashWindow to wxPython, plus other odds and ends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 09:39:49 +00:00
Robin Dunn
ebf4302cbe Added wxDynamicSashWindow to wxPython, plus other odds and ends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 09:10:01 +00:00
Robin Dunn
a9fd2e6f1b Demo cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 17:04:15 +00:00
Robin Dunn
6bff4be599 Demo cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 07:40:06 +00:00
Robin Dunn
0a8c1efb27 Demo cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 06:19:02 +00:00
Robin Dunn
07b2e1cd38 Replaced CopyObject with Clone for wxPython-specific event classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 06:04:42 +00:00
Robin Dunn
a3015b16dd Demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 02:31:27 +00:00
Robin Dunn
05f30eecb7 Fixed a problem in the demo and plugged a potential leak in SetDashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 20:43:04 +00:00
Robin Dunn
7f3d6cbcfe Corrected the text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 00:01:38 +00:00
Robin Dunn
163f2606f8 Enhanced the DnD demo and made the code more informative.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 23:59:42 +00:00
Robin Dunn
00887b391b added some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 07:21:26 +00:00
Robin Dunn
80f7e6500b A bit of cleanup and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 18:43:55 +00:00
Robin Dunn
c70fd24fa8 wxComboBox does not derive from wxChoice in wxGTK so it can't in
wxPython either.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 18:34:26 +00:00
Robin Dunn
f0db4f3850 some demo cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:01:42 +00:00
Robin Dunn
a57d56d662 More fixes for wxPopupWindow.
More SWIGged code updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 06:43:26 +00:00
Robin Dunn
98624b49d3 Various other tweaks and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:18:00 +00:00
Robin Dunn
c0c84fa088 Finally figured out wxPopupWindow, added to demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:16:03 +00:00
Robin Dunn
4deafe3122 Added some code to demonstrate a problem and a workaround in wxTextCtrl on MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:14:05 +00:00
Robin Dunn
5e217089d4 New ErrorDialogs from Chris Fama
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:09:28 +00:00
Robin Dunn
5b119149c0 wxGLCanvas updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:08:53 +00:00
Robin Dunn
0d3859bf1e Fixed a little demo problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 00:32:39 +00:00
Robin Dunn
b6e5c4450a Added build instructions for OS X.
Added a very simple demo to help build functionality bit by bit.
Regenerated the files that needed SWIGging.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 23:19:16 +00:00
Robin Dunn
bd658b8c33 Show class type returned from HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 16:12:44 +00:00
Robin Dunn
ab11ebfa19 wxPython updates to match recent updates to wxCalendarCtrl, wxGrid,
and wxGLCanvas.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 20:56:23 +00:00
Robin Dunn
a705ee4785 Removed som unnecessary sh-bangs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 19:43:54 +00:00
Robin Dunn
68d92db331 Updated timer demo (again ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 18:16:01 +00:00
Robin Dunn
e6157a6995 Updated timer demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 18:15:13 +00:00
Robin Dunn
4c3b4ed07f DSM fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 07:03:33 +00:00
Robin Dunn
ee707cb73a Added typemap for wxArrayString
Added wxMimeTypesManager and wxFileType

Other updates...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 06:58:52 +00:00
Robin Dunn
b37c7e1dcd Added typemap for wxArrayString
Added wxMimeTypesManager and wxFileType

Other updates...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 06:43:54 +00:00
Robin Dunn
846ec2f9ed Added URL drag and drop sample to the wxPython demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 02:13:11 +00:00
Robin Dunn
a29a241fd6 Added DnD related events to wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 22:12:50 +00:00
Robin Dunn
2aab8f16ac Added wxClientDataContainer to wxSizer, so sizers can now do OOR in
wxPython too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:56:07 +00:00
Robin Dunn
dfef5d5165 Fixed some demos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:44:47 +00:00
Robin Dunn
729f427637 Added wxRightTextCtrl from Josu Oyanguren
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:43:58 +00:00
Robin Dunn
79f1bf32d7 Added a set of sophisticated Error Dialogs from Chris Fama.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 20:41:33 +00:00
Robin Dunn
0e94700456 Some little tweaks...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:19:38 +00:00
Robin Dunn
54a816a683 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:12:47 +00:00
Robin Dunn
fe0aca3712 wxPython updates for new wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:33:13 +00:00
Robin Dunn
8082483b70 tweaked some tests a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 05:29:57 +00:00
Robin Dunn
9d37f96428 Added some optimization methods to wxPython's wxDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:06:09 +00:00
Robin Dunn
0220cbc169 Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 00:41:21 +00:00
Robin Dunn
0122b7e3fc Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 23:26:38 +00:00
Robin Dunn
3fa826301b add a newline to the log message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-11 16:15:19 +00:00
Robin Dunn
76bfdc7816 Added wxPyLog so log targets can be created in Python with the
appropriate callbacks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 18:29:29 +00:00
Robin Dunn
32c988a34d Fixed duplicate definition of wxWindow::SetAcceleratorTable, more swig
code regenerated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 19:19:56 +00:00
Robin Dunn
900d98862d Refactored Python shadows to use wxControlWithItems where appropriate.
Implememted SetClientData for wxControlWithItems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 03:32:37 +00:00
Robin Dunn
ecc08ead91 Various updates, changes for wxTopLevelWindow, fixes for
wxPen.SetDashes, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:11:47 +00:00
Robin Dunn
217cb2fab8 Add some Pen dashes tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 00:27:46 +00:00
Robin Dunn
059a841c96 Significantly changed how the Python interpreter lock and thread state
are managed, which should fix the problem of running on a
multi-processor machine.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 21:47:20 +00:00
Robin Dunn
19a97bd6f9 Significantly changed how the Python interpreter lock and thread state
are managed, which should fix the problem of running on a
multi-processor machine.

Some fixes for some of the contributed library modules.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-16 01:51:13 +00:00
Robin Dunn
b1cfebd9f4 some little demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-14 16:13:57 +00:00
Robin Dunn
9968ba85be Removed font point size adjustment since wxWindows already does it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-10 21:57:26 +00:00
Robin Dunn
fea018f801 A couple little fixes for wxSTC
Updated to 0.6 of PyCrust


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 23:44:17 +00:00
Robin Dunn
53fe40bac2 Added more contribs from Lorne White, and updated some of the existing ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 04:17:38 +00:00
Robin Dunn
ddcb3d8378 Added wxGenBitmapTextButton contrib from Lorne White.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 23:23:47 +00:00
Robin Dunn
6d19860fe8 Updated wxColumnSorterMixin to also be able to place sort icons on the
column headers, and updated the wxListCtrl demo to show it off by
using wxColumnSorterMixin.

Other odds and ends...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 22:41:18 +00:00
Robin Dunn
65ec6247df Upgraded to version 1.39 of Scintilla, and upated wxStyledTextCtrl
accordingly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 03:06:33 +00:00
Robin Dunn
00b6c4e33b Added a new sample app that is a style editor for wxSTC.
Some other tweaks and fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 19:21:45 +00:00
Robin Dunn
cd09615235 updates for swig generated code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 23:03:59 +00:00
Robin Dunn
c7e7022c2c Deprecated PyShell and PyShellWindow, added a snapshot of PyCrust.
Added the new virtual list capabilities to wxListCtrl.

Other odds and ends.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 19:19:48 +00:00
Robin Dunn
4f3449b432 Added context help stuff to wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 03:06:02 +00:00
Robin Dunn
2f9be7879e A couple fixes for the demo, and some code to show a bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-28 03:06:02 +00:00
Robin Dunn
e83991bf89 little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 18:12:27 +00:00
Robin Dunn
7e3a5de30f some minor tweaks for the VTK demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 17:35:48 +00:00
Robin Dunn
286e2db69c Fixed img2py to work correctly with Python 2.1.
Added enhanced wxVTKRenderWindow by Prabhu Ramachandran


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 04:11:34 +00:00
Robin Dunn
b166c70307 Fixing some demos to look and act better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 17:27:59 +00:00
Robin Dunn
edf2f43ead odds and ends...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 02:16:20 +00:00
Robin Dunn
8577c05a58 updated version number
fixed a sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 23:34:51 +00:00
Robin Dunn
d56cebe7a4 Added ability to use xml resource files. Still need to add ability to
subclass wxXmlResourceHandler, etc...

Added wxGridAutoEditMixin to the mixins library package.

Made ColourSelect be derived from wxButton.

Fixed a few bugs here and there, added some missing methods, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 21:43:26 +00:00
Robin Dunn
bf7945cef1 Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the user
code can get access to the edit control when it is created, (to push
on a custom event handler for example.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 06:23:06 +00:00
Robin Dunn
1fb264fd5a Changed IDs used for the popup menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 16:02:58 +00:00
Robin Dunn
25832b3f2b changed version number
A few final twaeks and fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 05:59:09 +00:00
Robin Dunn
25d73e0f28 Some more tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 02:00:31 +00:00
Robin Dunn
ac346f5046 Added sample to the demo for wxJoystick
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 01:18:39 +00:00
Robin Dunn
10e07c70d8 wxDragImage fixes and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 23:46:30 +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
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
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
Robin Dunn
3b36695de4 Fixed bug that prevented wxTreeCtrl.OnCompareItems from being called.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-09 22:15:05 +00:00
Robin Dunn
d1679124ae MouseWheel stuff
Added wxToggleButton
other odds and ends


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-06 05:03:24 +00:00
Robin Dunn
a92edd311c Check if the timer is already running before starting it again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-01 16:49:23 +00:00
Robin Dunn
b6962846e8 Show how to get an icon from a bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-30 18:33:20 +00:00
Robin Dunn
c8ace611be Added a demo to show off all the colours that can be added to
wxTheColourDatabase by the wxPython.lib.colourdb module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 23:32:05 +00:00
Robin Dunn
03a2c06221 Updated infoframe from Chris Fama
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-12 02:53:14 +00:00
Robin Dunn
04a429cb8a Added a mask to some of the images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 21:25:54 +00:00
Robin Dunn
96bfd05319 Images can now be embedded in Python source files.
Added tools to do the embedding.
Added Constructors/methods where needed.
Updated the demo to use mostly embedded images.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 19:36:36 +00:00
Robin Dunn
e189b07018 A little tweak so the button sizes right
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-02 07:26:54 +00:00
Robin Dunn
49875c533b Added colourselect.py, imagebrowser.py and an updated calendar.py to
wxPython/lib from Lorne White.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-02 05:57:32 +00:00
Robin Dunn
f3d9dc1d87 Other odds and ends...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-02 03:49:52 +00:00
Robin Dunn
cf273c6718 Added code to optionally put the wxSTC on a panel instead of directly
in the notebook.  This eliminates most (all?) of the flicker and
slowdown for wxSTC when in notebooks on wxGTK.  My guess is that
wxNotebook is broken, but this is an acceptable workaround.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-27 18:56:28 +00:00
Robin Dunn
3c2ec1b8ff Remapped zoom/unzoom to Ctrl keys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-27 17:29:56 +00:00
Robin Dunn
e87269a7a5 enhanced a comment ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-15 00:35:30 +00:00
Robin Dunn
0569df0fc9 Changed wxFont, wxPen, wxBrush to not implicitly use the wxTheXXXList
behind the scenes, but to use normal ctor and dtors.

Exposed the wxTheXXXLists to wxPython.

Also wxTheColourDatabase and added a library module to load LOTS more
colour names into the colour database.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-14 08:05:03 +00:00
Robin Dunn
83b18bab39 A bunch of little tweaks, fixes, and additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-13 23:50:43 +00:00
Robin Dunn
7a8b1590d5 some little fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-21 21:12:10 +00:00
Robin Dunn
1b62f00d8e Copied/merged from the 2.2 branch.
Changes needed to build with new event system


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-16 08:19:50 +00:00
Robin Dunn
1e7ecb7be0 Massive code changes and cleanup to allow wxPython to be split into
multiple extension modules again.  A Python CObject is used to allow
the "export" of SWIG and other common helper functions from the wxc
module to other modules, even if they are in separate shared
libraries.  Should also be usable from 3rd party code, just include
wxPython/src/export.h

Changed the default setup so the following are built as separate
extension modules:  calendar, glcanvas, grid, html, ogl, stc, and
utils.  Will probably add more later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-22 00:06:04 +00:00
Robin Dunn
d3f175108b a fix in the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-11 02:55:03 +00:00
Robin Dunn
de20db997d Fixed a bunch of leaking references in how the callbacks deal with
objects.  Should be MUCH better now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-10 08:37:52 +00:00
Robin Dunn
185d7c3ee4 New typemaps for wxString when compiling for Python 2.0 and beyond
that allow Unicode objects to be passed as well as String objects.  If
a Unicode object is passed PyString_AsStringAndSize is used to convert
it to a wxString using the default encoding.

Fixed the generic buttons so tool tips work for them.

Fixed a bug in the demo's tree control.

Added a listbox to the listbox demo that shows how to find items with
a patching prefix as keys are typed.

Added code to the wxListCtrl demo to show how to get text from a
column in report mode.

Added code to the toolbar demo to clear the long help from the status
bar after 2 seconds.

Added wxJoystick.

Fixed wxTimer so it can be used as described in the docs, either with
a Notify method in a subclass, or sending an event to a wxEvtHandler
object, (usually a window.)

Added wxNotifyEvent.Allow()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-21 03:44:14 +00:00
Robin Dunn
8362557923 Added demo of creating a custom Grid Editor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-04 07:38:17 +00:00
Robin Dunn
494f8eacda Re-added a couple files that got left out of the merge somehow...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 21:58:36 +00:00
Robin Dunn
c368d904fc Merged wxPython 2.2.2 over to the main branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 21:08:42 +00:00
Bryan Petty
3ca6a5f046 second merge of the 2.2 branch (RL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 06:11:51 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00