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
90f7243727
Don't call _setOORINfo from PreGrid
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 19:58:50 +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
71e60f703c
Since it is documented, changed GetOrCreateCellAttr from protected to
...
public so it can be used from wxPython.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-03 19:30:19 +00:00
Robin Dunn
79dbea2146
Patch from Jed Burgess that optionally allows the grid to notify when
...
a drag event happens on a cell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:25:28 +00:00
Robin Dunn
b39c3fa09a
Avoid using the OOR typemap in the constructors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 22:51:01 +00:00
Robin Dunn
a77bf68f69
prevent a reference leak when OOR objects are created
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 17:52:29 +00:00
Robin Dunn
3c6e3872b3
Add some grid related constants
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:36:50 +00:00
Robin Dunn
6d450e1a20
Since the wxPyMake_wxObject typemap is also used for constructors we
...
need to allow it to use the $owner value to specify if the thisown
attribute shoudl be set to true.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 20:12:14 +00:00
Robin Dunn
8826712ea0
in unicode mode the return value of gridtable.GetValue must be a
...
string or a unicode object, as the coerce to unicode function used can
only convert strings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:23:35 +00:00
Robin Dunn
fa003c13c7
Added missing GetKind method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:51:43 +00:00
Robin Dunn
b00f16c865
Added new event binders
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 19:37:33 +00:00
Robin Dunn
d55734102e
Added more default args as needed to allow most window types to be
...
constructed with only the parent window arg. In some cases other args
may be required for normal operation, but they can usually be set
after construction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:53:05 +00:00
Robin Dunn
b2eb030f9e
set the modules' pacakge name to "wx" using a new SWIG feature
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 02:29:55 +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
ae662096c3
Add PreGrid()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 02:58:08 +00:00
Robin Dunn
c8fac2b60d
Modules generated by SWIG can now have module docstrings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:25:33 +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
880715c9a9
Add GetClassDefaultAttribute. Since it is static we need to put the
...
definition in all window classes so the right one will be called on
the C++ side of the fence.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 17:35:43 +00:00
Robin Dunn
99109c0ff1
better __docfilter__ and other epydoc tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 19:26:48 +00:00
Robin Dunn
54f9ee4509
Renamed the core namespace's submodules to have a leading underscore.
...
This is so epydoc will automatically mark them as private and won't
document the objects they contain (they'll be docmented via the wx
module.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-25 06:51:10 +00:00
Robin Dunn
5b29df3fee
Add __docfilter__ to modules so epydoc doesn't generate docs for all
...
the SWIG crud in the modules it doesn't need to.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 23:25:20 +00:00
Robin Dunn
0c02082608
Add width and precision params for wxGridCellFloatEditor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:19:26 +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
601c78c6b6
Fixed typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-06 00:15:15 +00:00
Robin Dunn
36c8c4718a
fixed some docstrings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 01:59:49 +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
2b9048c56f
%addtofunc --> %pythonAppend
...
Also used %pythonPrepend to provide backwards compatibility for a few
parameter name changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 01:18:37 +00:00
Robin Dunn
ef6c08e5c3
Rename the grid selection mode flags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-06 21:33:34 +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
Robin Dunn
877d6bae5e
Corrected a return type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 19:59:50 +00:00
Robin Dunn
3628e08886
Added Python wrappers for wxRTTI for the wxVScrolledWindow,
...
wxVListBox, and wxHtmlListBox classes.
Removed the calls to wxClassInfo::Cleanup and Initialize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 21:32:52 +00:00
Robin Dunn
3ef86e32dd
Lots of changes for wxPython to start using many of the new featues in
...
wxWindows 2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 00:28:34 +00:00
Robin Dunn
1fded56b37
wxPython Merge #2 of 2.4 branch --> HEAD (branch tag: wxPy_2_4_merge_2)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 23:13:10 +00:00
Robin Dunn
2d13837901
GetValue is pure virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 20:49:14 +00:00
Robin Dunn
1e4a197e4c
Merged wxPython 2.4.x to the 2.5 branch (Finally!!!)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 06:35:27 +00:00
Robin Dunn
1e6796a093
Some last minute little tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 23:17:14 +00:00
Robin Dunn
fd512ba286
Various wxPython updates to go along with recent changes in CVS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:39:28 +00:00
Robin Dunn
85260f24de
A more dynamic wxWizard sample, and a fix for wxGrid wrappers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 00:00:04 +00:00
Robin Dunn
3b3ab7f6f3
Various changes needed to match recent cvs updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 20:15:05 +00:00
Robin Dunn
a66212dcdf
Fixed a bunch of embarassing reference leaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 05:51:11 +00:00
Robin Dunn
6e2129f90f
Changed the name of export.h to wxPython.h so it wouldn't be so
...
generic. This is the header that should be included by 3rd party
stuff that is embedding wxPython or making a new wxPython extension
module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 02:46:14 +00:00
Robin Dunn
33ff77f695
Some wxGrid related classes now support OOR.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:37:09 +00:00
Robin Dunn
db0ff83efb
Updates to match recent CVS changes.
...
Plugged some resource count leaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 20:56:34 +00:00