Robin Dunn
c9e13cbb59
Typo fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 00:45:38 +00:00
Robin Dunn
a353270280
Help text for regions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 19:08:21 +00:00
Robin Dunn
d0e2ede057
Added wxHyperlinkCtrl, wxPowerEvent, and lots of little things to
...
match changes made in wx.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 19:52:17 +00:00
Robin Dunn
ac288fac82
docstrings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:17:43 +00:00
Robin Dunn
5756f98678
Added wx.Window.GetScreenPosition and GetScreenRect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 22:46:55 +00:00
Robin Dunn
c5633576a8
Give classes that need one a destructor wrapper, and set %disown when
...
another class takes ownership.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:27:37 +00:00
Robin Dunn
12e7f72a35
Docstring update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 19:45:38 +00:00
Robin Dunn
1d0ac8f576
wx.Window.CenterOnScreen has been removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 18:34:02 +00:00
Robin Dunn
214c4fbea5
Changes needed to be able to build with SWIG 1.3.24, 1.3.27 as well as
...
the upcoming 1.3.28, using #if statements on SWIG_VERSION.
Adjustments to ownership of SWIG objects, add some destructors and
explicitly disown non-window objects when their ownership is
transfered to a C++ object.
Since all window objects are owned by their parent, or by themselves,
always set their thisown attribute to False.
Explicitly set thisown to False after any Destroy() methods are
called, so SWIG doesn't try to destroy them again.
Etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:09:45 +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
Włodzimierz Skiba
793b53a004
Get/Set title fixes ( #1350999 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 14:59:52 +00:00
Robin Dunn
8dc41cdb01
Added missing CacheBestSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-13 01:32:45 +00:00
Robin Dunn
e47ce385a7
Lots of docstring fixes and additions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-07 06:26:59 +00:00
Robin Dunn
791fbf3481
Added wx.GetTopLevelWindows() function which returns a copy of the
...
list of top-level windows that currently exist in the application.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 04:15:36 +00:00
Robin Dunn
562ecc3143
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 22:02:55 +00:00
Robin Dunn
7c1f6b54a5
docstring fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:46:57 +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
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