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
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
65fe3842bf
Regenerated some swig code, added some missing WXK_ constants, etc...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 17:13:28 +00:00
Robin Dunn
bae170097e
Minor tweaks and some typos fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 14:52:20 +00:00
Robin Dunn
65191ae8f2
Refactored Python shadows to use wxControlWithItems where appropriate.
...
Implememted SetClientData for wxControlWithItems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 06:12:49 +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
6ee2116be1
bug #463146
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 16:32:33 +00:00
Robin Dunn
401d3cc731
minor fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 22:42:20 +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
a3fbed81b2
A better way to handle the OOR wxPyListCtrl --> wxLIstCtrl thing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-14 16:14:56 +00:00
Robin Dunn
cdf14688f5
Fixed an OOR related bug that happened when a class has been renamed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-07 16:28:24 +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
3ae53c3153
little tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 06:00:45 +00:00
Robin Dunn
6d8b4f8d2b
Added wxNativeFontInfo and wxFontMapper.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 05:00:15 +00:00
Robin Dunn
4309759886
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@11550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 22:47:34 +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
949853a49c
Added AssignImageList to wxNotebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 00:55:17 +00:00
Robin Dunn
aa2a5b8696
Added XRCed to the wxPython Tools directory, contributed by Roman
...
Rolinsky.
Added wrappers for the default ctor and the Create methods for most
window classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 21:51:07 +00:00
Robin Dunn
09f3d4e679
Added XRCed to the wxPython Tools directory, contributed by Roman
...
Rolinsky.
Added wrappers for the default ctor and the Create methods for most
window classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 21:38:03 +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
10be44acb0
Various tweaks, fixes, and additions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-28 03:29:34 +00:00
Robin Dunn
3a0958b165
Various tweaks, fixes, and additions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-28 03:12:32 +00:00
Robin Dunn
5597b61e54
Fixed resource leak for wxListItem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-28 03:10:39 +00:00
Robin Dunn
2c8a649d7a
Some tweaks and generated core sources for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 22:52:01 +00:00
Robin Dunn
0adbc1660e
Number() to GetCount() and other changes needed for wxPython to
...
compile with current CVS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 03:37:47 +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
9a08cd12bd
odds and ends
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 03:15:08 +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
9d6da64a8b
generated code updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-22 16:53:59 +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
84a81942dd
Updated SWIG generated code for wxGTK version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 16:58:26 +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
4dfaa61e60
generated code for wxGTK for all the changes made earlier today
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 04:12:38 +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
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
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