Commit Graph

23 Commits

Author SHA1 Message Date
Robin Dunn
fdcbb1ce01 Minor tweaks to bring up to date with CVS changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 02:35:05 +00:00
Robin Dunn
7d50c11074 Add copy constructor, DateTimeFromDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 03:59:06 +00:00
Robin Dunn
5551baca88 corrections for some SWIG deprecation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-20 18:11:53 +00:00
Robin Dunn
02b800ce7c Merged modifications from the 2.6 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 23:02:03 +00:00
Robin Dunn
bbdcf8c200 Ensure that the results of __str__ and __repr__ are strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 20:07:25 +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
2b020ec774 Fix GetAmPmStrings wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 18:40:52 +00:00
Robin Dunn
8815349a37 Some new def's, parameters, methods, etc. resulting from recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-02 22:34:07 +00:00
Robin Dunn
aeee37c362 * Some WXWIN_COMPATIBILITY_2_4 changes, as well as flagging other
things that will need fixing when WXWIN_COMPATIBILITY_2_4 is turned
  off.

* Create a custom version of the "default" ctor for wxCursor on wxGTK

* Switch to new format string and name string constants for default
  values

* Changes some public data members of event classes into properties as
  they are no longer public in the C++.

* Added wxSL_INVERSE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 20:38:51 +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
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
19e14bf6d5 Added SetToWeekOfYear, deprecated SetToTheWeek and GetWeek
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-13 23:23:18 +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
fd04159e75 Also Check for validity in comparrison operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 22:48:15 +00:00
Robin Dunn
0cd6e69632 Check for validity in __repr__ and __str__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 22:16:31 +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
856bf319b5 Added some docstrings.
Added wx.DefaultDateTime.
Fixed CalendarCtrl.HitTest


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 03:11:36 +00:00
Robin Dunn
b2dc104421 More changes to make the autodocs be better, made all the namestrings
and such be visible to swig so the autodoc generator knows how to
rename them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 01:01:49 +00:00
Robin Dunn
7722248d75 Lots of bup fixes, API updates, etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-21 07:39:05 +00:00
Robin Dunn
322913cef3 More docstring updates for OUTPUT parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-20 20:41:31 +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