Commit Graph

987 Commits

Author SHA1 Message Date
Robin Dunn
bbbc2a8724 Handle the case of dragging beyond the last row. Fixes #15007
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-28 23:54:04 +00:00
Robin Dunn
3cc06f9c68 GetChecked --> GetCheckedItem, but still use the Python implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-24 22:52:59 +00:00
Andrea Gavana
b276e169e7 AGW on Phoenix: dummy datestamp fix for FourWaySplitter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-22 20:21:26 +00:00
Andrea Gavana
120678274f AGW on Phoenix: fix missing wx.EVT_MOUSE_CAPTURE_LOST handler in LabelBook and correctly place AUIHandler in the persist package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-22 20:02:42 +00:00
Robin Dunn
8d32e67489 Interface change: long --> wxCoord in GetPosition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-21 02:13:16 +00:00
Robin Dunn
35fd2e16bf Update copyright year
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-21 02:13:03 +00:00
Andrea Gavana
dcf382ac31 wxPython (Phoenix) AUI: fix wx.PyDeadObjectErrors when restoring a notebook perspective if a notebook tab contains a control - backport of the fixes on Classic (see #14971).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-15 20:49:52 +00:00
Robin Dunn
cce24cf185 Add wxWebViewFactory, RegisterFactory and other related changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-14 05:35:58 +00:00
Robin Dunn
f7bf3c1a1e Invalidate the cached best size whenever something changes that could affect the best size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-03 19:10:02 +00:00
Robin Dunn
53d0c8de00 default for useFixedWidthFont is now False for NumCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-03 05:40:54 +00:00
Robin Dunn
a20efa6ce0 SetModal is gone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-03 05:40:48 +00:00
Robin Dunn
0c5b8ac0a0 Refresh all of the visible portions of the resize widget, not just around the handle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 22:02:13 +00:00
Robin Dunn
4330044017 Set svn:eol-style properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 22:00:10 +00:00
Robin Dunn
628ea65c47 Patch from Werner for better widget size calculations for small masks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 20:43:17 +00:00
Robin Dunn
591175c16b The deprecated attribute might not be a string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 19:42:33 +00:00
Robin Dunn
7f70d5297f Add a --x64 option, even though it is actually checked before the command line options are processed. This way it will be displayed in the help automatically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:48 +00:00
Robin Dunn
5ab8e42542 Ensure that functions that return our wxList wrappers are not creating a copy of the list, but rather using the one given to them. This is really only needed for those that are const methods, but I did it for all in case the C++ signature is changed to const.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:43 +00:00
Robin Dunn
c17bb549fe Add FindItem and FindItemById
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:37 +00:00
Robin Dunn
24307717fc Add missing FindWindowBy* functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:30 +00:00
Robin Dunn
ccaf7dccd6 Test for missing SetOrientation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:24 +00:00
Robin Dunn
e7a2c5fac1 Add missing EVT_TOGGLEBUTTON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:19 +00:00
Robin Dunn
6291fd7cc9 Present the math operators for Point, Size, Rect as if they were methods of the class instead of global functions. This helps disambiguate between Point and Size functions due to how both can be equivalent to 2-element sequences.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:14 +00:00
Robin Dunn
661c7ca733 Add wx.GetAccelFromString wrapper for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:07 +00:00
Andrea Gavana
5c33e560c8 AGW on Phoenix: more fixes and porting to Phoenix; added unittest for aquabutton.py, flatnotebook.py, gradientbutton.py and infobar.py; minor modifications to wx.lib.masked.maskededit.py and wx.lib.colourutils.py.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-28 22:08:07 +00:00
Robin Dunn
e1c94aef18 Add builder for Py3.3 on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-27 03:39:16 +00:00
Robin Dunn
12886cd868 Use 'linux' for the platform name no matter if the real platform name is 'linux2', 'linux3' or just 'linux'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-27 03:07:05 +00:00
Andrea Gavana
9f7441bf76 UltimateListCtrl on Phoenix: clear the bitmap background when creating checkboxe and radiobutton images.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-26 19:01:00 +00:00
Robin Dunn
424f9fa84c Since SIP's KeepReference will leak the reference when used with a static method it can't be used with wx.GraphicsContext.Create to ensure that the target lives as long as the GC. Instead we'll rename the Create methods and then wrap a little Python code around it to deal with holding the ref to the target.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-23 03:08:08 +00:00
Robin Dunn
0e6e598099 Support isStatic for PyMethods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-23 03:08:03 +00:00
Robin Dunn
846365232d typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-23 03:07:57 +00:00
Andrea Gavana
662e4c69f5 Phoenix: reformat the scrolledpanel.py sample in the docstrings so that (maybe) sphinx_generator.py will not eat it again...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 22:43:28 +00:00
Robin Dunn
d0343102dc Add some of the debug related functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:37 +00:00
Robin Dunn
b24e226a29 undo typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:30 +00:00
Robin Dunn
8fd23cc51e Don't need to ignore wxSetCursor any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:25 +00:00
Robin Dunn
280d9e9e86 Only try to import numpy, the others are just way too old. See #3147, #4130
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:17 +00:00
Robin Dunn
75e056adba Add wx.StopWatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:11 +00:00
Robin Dunn
c1fcdf277d WXK_PRIOR --> WXK_PAGEUP, WXK_NEXT --> WXK_PAGEDOWN, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:03 +00:00
Robin Dunn
9f984eb91c Add wxADJUST_MINSIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:00:53 +00:00
Robin Dunn
1f610f6419 Add a unit test for wx.ClientDataContainer, fix the bug that the test found.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:00:48 +00:00
Robin Dunn
79db08515d addDefaultCtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:00:42 +00:00
Robin Dunn
eece1b3f96 Add wxClientDataContainer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:00:37 +00:00
Andrea Gavana
b5718b493f Phoenix: More conversions in AGW to improve compatibility. Fixed wrong Sphinx interlinks in various AGW modules. Tagged wx.lib.scrolledpanel.py and ported to Phoenix, documented and added a unittest. Small change in the Sizer ReST table.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-21 21:09:33 +00:00
Andrea Gavana
8225935187 Phoenix: More conversions in AGW to improve compatibility. Fixed wrong Sphinx interlinks in various AGW modules. Tagged wx.lib.scrolledpanel.py and ported to Phoenix, documented and added a unittest. Small change in the Sizer ReST table.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-21 21:08:53 +00:00
Andrea Gavana
1fadbee529 ultimatelistctrl.py: wx.Icon does not have a constructor from a bitmap in Phoenix, use CopyFromBitmap instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 22:03:12 +00:00
Andrea Gavana
7ec1459861 AGW in Phoenix (5): just svn-eol property change (I hope) for some files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:51:46 +00:00
Robin Dunn
dec79dbc7c just a little cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:27:42 +00:00
Robin Dunn
90ad1bf99c Invalidate the cached best size value when the _bestsize attribute is changed, so DoGetBestSize will be called again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:27:37 +00:00
Robin Dunn
6ffb7c6737 Port some changes from Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:27:32 +00:00
Robin Dunn
388b3d86bc Add tests and support for creating custom XRC handlers and using the Python subclass factory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:27:23 +00:00
Andrea Gavana
b4f61b591e Phoenix: fix unit test for test_uiaction.py (assertEqual needs 2 args)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:17:20 +00:00