Commit Graph

90 Commits

Author SHA1 Message Date
Robin Dunn
53ad97d7f9 Check for TypeError exceptions in PostCreate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 21:54:35 +00:00
Robin Dunn
a8728f8f37 Remove AdjustedBestSize property since the function it calls is deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 20:07:18 +00:00
Robin Dunn
5ec5b47f47 Docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 18:26:49 +00:00
Robin Dunn
a2bc9053f8 MustHaveApp(wxWindow_FromHWND);
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 23:28:47 +00:00
Robin Dunn
5917d04127 Add ToggleWindowStyle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:40:05 +00:00
Robin Dunn
b5bc23fbcf Add GetWindowBorderSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 06:59:56 +00:00
Robin Dunn
c25f90f60c Use a swig macro for generating the call to the _setCallbackInfo
function so it's easy to fiddle with, if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 22:03:54 +00:00
Robin Dunn
0d82d64ea6 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 18:41:36 +00:00
Robin Dunn
170acdc90e GetBestFittingSize --> GetEffectiveMinSize
SetBestFittingSize --> SetInitialSize
SetBestSize  --> SetInitialSize
SetInitialBestSize --> SetInitialSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:50:17 +00:00
Robin Dunn
8f514ab459 Gobs of changes needed to get up to date with today's CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:57:21 +00:00
Robin Dunn
a0fd79ba38 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:52:41 +00:00
Robin Dunn
4b5a79cf54 Disown using .this.own(False) instead of .thisown = False
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 03:30:33 +00:00
Robin Dunn
9a3dccf6d6 double buffer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:56:41 +00:00
Robin Dunn
d49bdf3432 wx.EvtHandler is OOR capable
docstring fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 01:37:29 +00:00
Robin Dunn
994453b843 added more properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-15 21:31:02 +00:00
Robin Dunn
16ec1954b1 IsVisible --> IsShownOnScreen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 20:27:47 +00:00
Robin Dunn
6517912d80 sync with CVS updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 16:54:57 +00:00
Robin Dunn
e81b607b43 Changes needed for new RTL methods, and also various other updates to
wx CVS.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 23:52:47 +00:00
Robin Dunn
0eae5d0999 Start adding some properties for getter/setter methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 19:46:44 +00:00
Robin Dunn
b58d5e2d95 Move CanSetTransparent and SetTransparent up to wxWindowBase since
wxMac can handle transparency at that level.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:30:34 +00:00
Robin Dunn
e249d3c0dc Added wxMouseCaptureLostEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 19:12:07 +00:00
Robin Dunn
6aaca5bac6 Various little tweaks to get up to date with CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 21:49:25 +00:00
Robin Dunn
a9a04486a2 GetTmpDefaultItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:32:24 +00:00
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