Robin Dunn
72797a7da3
Added wxArtProvider and other changes to match CVS updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 23:31:53 +00:00
Robin Dunn
fe953afb43
minor updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 16:45:04 +00:00
Robin Dunn
e67409dcb6
SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:55:09 +00:00
Robin Dunn
daa3eac94c
Various minor tweaks and updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 04:17:27 +00:00
Robin Dunn
6d26dc89c5
Added wxMouseCaptureChangedEvent. Added some missing Capture related methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 01:37:32 +00:00
Robin Dunn
fc51b8c37e
Better error message, flags --> style in wxHtmlWindow, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 23:13:29 +00:00
Robin Dunn
7cdaed0ba0
Changes to match cvs update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 18:39:58 +00:00
Robin Dunn
4acff284f9
A little black magic... When the C++ object (for a window or
...
whatever) is deleted there is no way to force the Python shadow object
to also be destroyed and clean up all references to it. This leads to
crashes if the shadow object tries to call a method with the old C++
pointer... The black magic I've done is to replace the __class__ in the
Python instanc object with a class that raises an exception whenever a
method call is attempted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:01:45 +00:00
Robin Dunn
ffd990f695
Added a few new flags, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 00:28:59 +00:00
Robin Dunn
68bc8549d8
Move font and encoding related classes to a new module. Added
...
wxLocale and wxEncodingConverter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 18:15:21 +00:00
Robin Dunn
b96c7a38a8
Updates to match recent CVS changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:55:33 +00:00
Václav Slavík
546bfbea81
wxITEM_FOO instead of wxItem_Foo, for the sake of consistency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:18:51 +00:00
Robin Dunn
137b5242b1
More unicode related cleanup and fixes for wxPython
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 05:50:09 +00:00
Robin Dunn
e9159fe8e8
Added wxBufferedDC, changes for wxMenu and wxMenuItem, and other
...
little fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 22:11:23 +00:00
Robin Dunn
26e335b844
Some little tweaks and cleanups.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 18:30:21 +00:00
Robin Dunn
3999941a70
Bugfix for wxTreeCtrl.InsertItemBefore and more SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:47:30 +00:00
Robin Dunn
afb810d936
Changed the img2py tool to use PNG instead of XPM for embedding image
...
data in Python source code, and the generated code now uses streams to
convert the image data to wxImage, wxBitmap, or wxIcon.
A few other changes to match recent additions to CVS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 22:35:10 +00:00
Robin Dunn
14afa2cbca
Better wrapper for wxListCtrl.GetColumn, and some other cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:54:23 +00:00
Robin Dunn
c0fbf24ba6
A little different fix for how to delay the call to __wxCleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:01:04 +00:00
Robin Dunn
be43cc441a
A fix for Python 2.2 which can sometimes call __wxCleanup before all
...
the other wxPython objects have been deleted.
Other various things to match recent CVS changes in wx.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 21:28:41 +00:00
Robin Dunn
23bed52041
wxPyEmptyStr --> wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 23:16:16 +00:00
Robin Dunn
c6c593e88d
Updates for recent changes to wx, and some other little tweaks and fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 00:11:38 +00:00
Robin Dunn
ce914f7319
Changes to match recent CVS updates, added demo for wxGenericDirCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 03:22:03 +00:00
Robin Dunn
293a0a8677
Fixed a typemap.
...
Added a Python list --> wxArrayInt typemap and wxArrayInt --> Python
list helper.
Added wxMultiChoiceDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 21:33:07 +00:00
Robin Dunn
68320e40cd
Added wxGenericDirCtrl and other varioius updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 04:54:19 +00:00
Robin Dunn
b5a5d6473c
Some updates to go with changes in current CVS.
...
Added wxSplashScreen.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 23:45:33 +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
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
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
181526acad
SWIGged updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 02:06:31 +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
b1e930a50d
Added wxTE_NOHIDESEL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 18:04:48 +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
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
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
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
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
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
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
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
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
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
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
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
0a651eb856
A few changes to match header changes and let wxPython compile again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 00:36:03 +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