Commit Graph

36 Commits

Author SHA1 Message Date
Robin Dunn
6b5e94c6f9 Don't use a reference for the return value of wx.Rect.Inflate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:07:21 +00:00
Robin Dunn
8f514ab459 Gobs of changes needed to get up to date with today's CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:57:21 +00:00
Robin Dunn
debe38c933 Add wxRect2D
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 06:06:20 +00:00
Robin Dunn
7b497846ea ~wxPoint2D
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:10:36 +00:00
Robin Dunn
ce60dd8efe Don't deprecate Inside() yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:30:09 +00:00
Robin Dunn
f5263701c2 various changes to get up to date with CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 20:22:58 +00:00
Robin Dunn
a9b9549646 Add comment about additional forms of Inflate(). Decide what to do
about them later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 16:57:35 +00:00
Robin Dunn
5acb46e0cd new wxRect and wxPlatformInformation methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 19:05:36 +00:00
Robin Dunn
8546a54961 Inside --> Contains
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 20:28:28 +00:00
Robin Dunn
7012bb9f03 more properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 03:20:12 +00:00
Robin Dunn
8e1222c7cd Add wx.Rect.InsideRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 18:50:06 +00:00
Robin Dunn
6aaca5bac6 Various little tweaks to get up to date with CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 21:49:25 +00:00
Robin Dunn
1fce4e9668 Fixed the equality and inequality operators for some of the basic
data types (wx.Point, wx.Size, wx.Colour, etc.) to no longer raise a
TypeError if the compared object is not compatible, but to just return
a boolean as expected.  For example::

	  wx.Colour(64,0,64) == 123      ==> False


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 23:29:39 +00:00
Robin Dunn
bea992c873 Docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:05:19 +00:00
Robin Dunn
096e3ea1c5 Add wx.Rect.CenterIn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 18:33:26 +00:00
Robin Dunn
6e6b35578d Use the PyGILState_* APIs on Python >= 2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 22:28:52 +00:00
Robin Dunn
c3fc056e63 Added wx.Rect.IsEmpty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 00:17:37 +00:00
Robin Dunn
ca30acad7a wx.Rect.Inflate/Defalte docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 20:26:28 +00:00
Robin Dunn
1b8c7ba607 Updated to SWIG 1.3.24 (plus a patch that corrects a bug and adds back
some things that were changed/removed from my patch I submitted to
them.)

Since it is now possible easily and simply share the SWIG type tables
across modules I reverted to always using the stock SWIG runtime
instead of my slightly hacked up version of it exported via the
wxPython C API.

The %name directive is now deprecated so replaced most uses of it with
a custom %Rename macro that uses %rename internally.  These will
evetually need to be replaced with a DocDecl macro when docstrings are
added.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:44:09 +00:00
Robin Dunn
9eefe9f085 wxRect::union and docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 22:38:06 +00:00
Robin Dunn
7aada1e05a Lots of tweaks and additions to get caught up with CVS HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 02:27:12 +00:00
Robin Dunn
a72f4631fe Update SWIG patch to output "True" ("False") in the autodoc string
when "true" ("false") is in the .i file.

Changed the .i files to use true/false to avoid collisions with any
True/False in headers that may be included.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 20:23:54 +00:00
Robin Dunn
ab1f7d2aa9 All the Window and GDI (pen, bitmap, etc.) classes and also many
toplevel functions will now check that a wx.App object has already
been created and will raise a wx.PyNoAppError exception if not.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:38:05 +00:00
Robin Dunn
d07d2bc9d0 Some docstring additions, reformats and epydoc markup.
Removed RefDoc macros, instead made all the normal Docstring macros
take an extra parameter to be used for the optional details postion of
the docstring.  The intent is that the docstrings put in the generated
.py files checked in to CVS and delivered in releases will be only a
paragraph or two, but when used for generating the epydoc reference
docs they can optionally contain a lot more details.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 00:17:48 +00:00
Robin Dunn
dce2bd223c Docstring updates and tweaks for epydoc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 06:14:22 +00:00
Robin Dunn
93a163f611 wxSize::SetDefaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 18:25:44 +00:00
Robin Dunn
da32eb53cb Changed (again) how the GIL is aquired and the tstate restored. This
time it's simpler, better, and handles the case where there is a wx
calback/event while the GIL has been released by a non-wxPython
extension module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-24 23:09:59 +00:00
Robin Dunn
22faec7d06 Allow comparrisons with None
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 02:33:28 +00:00
Robin Dunn
093d613e06 little tweaks to match wxWin changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-09 02:10:39 +00:00
Robin Dunn
02376d7348 Since they are new style classes we need to use the __reduce__
protocol for pickling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 23:06:38 +00:00
Robin Dunn
64e8a1f072 autodoc docstring fixes and such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-19 04:45:35 +00:00
Robin Dunn
3f0ff538b1 Little changes to match recent changes in wxWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 20:07:50 +00:00
Robin Dunn
61c5a8acbe Added some aliases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-28 18:39:57 +00:00
Robin Dunn
dd9f7fea29 Changed all TRUE/true --> True and all FALSE/false --> False so the
Python docstrings will have the correct case.

Started adding extra docstrings where needed.

Some other little tweaks and fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 06:31:30 +00:00
Robin Dunn
94d33c49d1 Removed %noautorepr directives
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 18:43:39 +00:00
Robin Dunn
d14a1e2856 Merged the wxPy_newswig branch into the HEAD branch (main trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-12 21:34:20 +00:00