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
4b60a5d70f
HasTransparentBackground
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:12:44 +00:00
Robin Dunn
7bde93ff27
docstring fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:54:40 +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
6bda7508c6
Added a note to self to look at adding ProvidesBackground in the future
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 22:51:09 +00:00
Kevin Hock
34621cc5d6
Documentation patch from Olly Betts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 19:11:07 +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
702723413e
AssociateHandle and DissociateHandle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-13 23:20:04 +00:00
Robin Dunn
a8af432bf0
Added [GS]etBackgroundStyle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 19:32:11 +00:00
Robin Dunn
9f8a9f5489
Various updates to catch up to wxWidgets CVS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 20:24:29 +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
75de554624
Navigate docstring update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 18:18:44 +00:00
Robin Dunn
705b61cce0
little tweaks to match recent CVS changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:01:33 +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
Václav Slavík
fa47d7a7ad
SetDefaultXXX -> SetOwnXXX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 17:12:03 +00:00
Robin Dunn
75db495992
Allow the MustHaveApp exception feature to be inherited
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 19:29:17 +00:00
Robin Dunn
9f88452895
* Implemented BestSize cache
...
* Added calls to InvalidateBestSize where things affecting BestSize
are modified. There are probably several other places where this
still needs to be done...
* Added wxWindowBase::GetBestFittingSize that will merge the BestSize
into the MinSize, (if any) and return the result.
* SetBestFittingSize will now only set the MinSize to the value that
was passed to it, without merging in the BestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:09:45 +00:00
Robin Dunn
fe161a2685
Controls will readjust their size and minsize when SetLabel or SetFont
...
are called. Fixed up wxStaticText to blend the wxST_NO_AUTOSIZE with
this new functionality. Made SetBestSize public under the
SetBestFittingSize name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 01:35:10 +00:00
Robin Dunn
fdc775af55
docstrign tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:52:01 +00:00
Robin Dunn
3b74f19449
Added Navigate, SetMinSize, SetMaxSize wxWindow methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:17:01 +00:00
Robin Dunn
d25d9ed08e
Default position for PopupMenu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 17:05:20 +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
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
729b64a3c1
docstring tweak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 19:14:07 +00:00
Robin Dunn
d474ed7b17
Docstring fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:31: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
75e14ed5ee
Various tweaks, docstring fixes, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:45:15 +00:00
Robin Dunn
75b39b4c0b
Make InheritAttributes and ShouldInheritColours public so they can be
...
called from derived Python classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 02:13:53 +00:00
Robin Dunn
ed3ff7fe09
Added SetDefaultXXX methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:01:52 +00:00
Robin Dunn
baf1aa5dfd
Use default window IDs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:26:34 +00:00
Robin Dunn
33e10b88cf
Added wx.FIXED_SIZE.
...
Added some new methods to wx.Window
Added a Destroy method to wx.TaskbarIcon to help avoid double deletes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:36:47 +00:00
Robin Dunn
b8fd6d078c
Somehow the Validate(), TransferDataToWindow(),
...
TransferDataFromWindow(), and InitDialog() methods got lost.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-06 19:10:43 +00:00
Robin Dunn
174051f613
GetDefaultAttributes, and other tweaks needed to get up to date with CVS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 18:23:01 +00:00
Robin Dunn
e029dde795
Turn off the RefDoc for constructors of the classes that have a
...
RefDoc. This prevents the doc from being duplicated in the metadata.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 22:15:23 +00:00
Robin Dunn
8d332bddb1
Added [G|S]etWindowVariant
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-08 23:18:26 +00:00
Robin Dunn
96577d6d7a
Fixed wxWindow_FromHWND so it would compile (still untested)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 01:57:10 +00:00
Robin Dunn
2f4ad68c32
Docstring tweaks, fixed typo, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:47:24 +00:00
Robin Dunn
a0c956e8e6
Fix compilation errors due to recent typedef changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 21:12:16 +00:00
Robin Dunn
e2bbfc8f05
docstring tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 19:50:35 +00:00
Robin Dunn
0facd0e524
Added docstrings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 19:38:21 +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
8668c24280
Use the DISOWN typemap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 00:52:47 +00:00
Robin Dunn
f87da72205
Beginings of wxX11 support. Much more to do but I have no more time
...
for it today.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-09 18:34:52 +00:00
Robin Dunn
81cfe5e13e
Aquire the GIL before raising the NotImplementedError exception
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 19:54:10 +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
fd3f2efe79
Lots of little bug fixes, API updates, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-22 22:57: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