Commit Graph

59 Commits

Author SHA1 Message Date
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
385721a888 NormalizeFontSizes --> SetStandardFonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 03:11:22 +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
7acd36259b Added NormalizeFontSizes which will set the html font sizes based on
the size of a system font.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 23:59:44 +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
31ad423e4f Wrappers for *ToText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 21:41:00 +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
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
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
0d267606ff Add GetMaxTotalWidth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 00:46:55 +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
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
927d7cfa70 Added selection methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 01:34:37 +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
089142a562 Fixes for the UNICODE build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-06 21:17:32 +00:00
Robin Dunn
2678dd26fb Added wxHtmlCell::[S|G]etId
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 19:53:24 +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
fb757066df Fix problems with the wxHtmpTagHandler wrappers and related
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-22 21:08:20 +00:00
Robin Dunn
4eeb570554 Added HTML_FONT_SIZE values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-21 20:31:01 +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
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
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
dd116e73f0 Minimal changes needed to build/run wxPython on the 2.5 branch after
the merge.  Still need to look for and apply most changes and new
additions that have happened since the last merge.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 02:26:53 +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
9cbf6f6ea3 Tweaks for various diffs from 2.4.0 to current HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 01:41:21 +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
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
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
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
a541c32586 Core wxPython (non-contrib) now fully works with Unicode!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:30:20 +00:00
Robin Dunn
e5d41db01a Added some anchor related methods to wxHtmlWindow as suggested on the
wxPython-users list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:33:58 +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
6c5ae2d2a6 Demo cleanup and path issues.
other tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 01:24:39 +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
4268f79856 Changed (again) how the Python global interpreter lock is handled as
well as the Python thread state.  This time it works on SMP machines
without barfing and is also still compatible with Python debuggers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:25:11 +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
de112a55a2 added AppendToPage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:03:26 +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
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
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
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