Commit Graph

528 Commits

Author SHA1 Message Date
Robin Dunn
693355141c fix file headers 2015-02-23 19:46:51 -08:00
Robin Dunn
94b6e354b0 Rename the FindHandler overloads as in Classic.
Fixup the RTC demo to at least start, still needs some work.
2015-02-20 19:39:58 -08:00
Robin Dunn
464f3c5c39 Add test for richtextxml 2015-02-16 16:00:23 -08:00
Robin Dunn
3c7590b185 Some more progress on RichText wrappers and tests 2015-02-14 18:38:29 -08:00
Robin Dunn
e46cf56ff7 Fix various typos in comments 2015-02-14 13:52:10 -08:00
Robin Dunn
1ab6de95a6 Add helper functions that can inject some text into docstrings, use it in wx.AppConsole. 2015-02-12 16:08:44 -08:00
Robin Dunn
1a75ede097 Add DoEraseBackground from Classic, but leave it commented out for now 2015-02-04 14:18:00 -08:00
Robin Dunn
d5fe36663f Add missing virtuals to fix GUIEventLoop to not be an abstract class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@78299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-23 00:27:51 +00:00
Robin Dunn
236cedff5c Pythonize DataViewCtrl.HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@78204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-28 04:48:08 +00:00
Robin Dunn
4b2fc7f330 Add __nonzero__ for wx.Sizer. Closes #15470
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@77978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-08 04:33:51 +00:00
Robin Dunn
e045f35dfa Turn generating wrappers for the virtuals for wxGLCanvas back on.
Fixes #16388

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@77730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-19 23:19:43 +00:00
Robin Dunn
468a7fe603 Fix docs for GetClientSize by copying the doc elements from the
ignored overload.  Fixes #16280 (trac)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-28 22:21:51 +00:00
Robin Dunn
a22e09b786 wx.MenuItem updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-20 03:18:16 +00:00
Robin Dunn
86cc655950 Ensure all dataobj classes have declarations for the base class pure virtuals.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-18 03:25:48 +00:00
Robin Dunn
5882e525e3 Fix context manager support for wx.TheClipboard.
Add some more clipboard tests.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-18 03:25:31 +00:00
Robin Dunn
726e75e766 Change wx.StatusBar.GetFieldRect to return the rectangle (for Pythonicity and Classic compatibility)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-02 00:13:42 +00:00
Robin Dunn
70729b25f6 Fix != comparison for gdicmn classes. Fixes #15772
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-11 03:32:49 +00:00
Robin Dunn
0246266507 Just move treelist to the dataview module. That makes a little more sense.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-08 02:00:11 +00:00
Robin Dunn
16adf8aa20 Have wx._adv import wx._dataview so the TreeListCtrl wrappers know about the DataViewCtrl type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-08 02:00:00 +00:00
Robin Dunn
20b7999b7a Fix generation of the deprecated calendar wxEventTypes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-07 03:05:12 +00:00
Robin Dunn
17e96cbccf Add SashInvisible property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-07 03:05:04 +00:00
Robin Dunn
af11009f80 Redeclare more virtual methods from the base class that have
implementations in wxDataViewColumn

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-07 03:04:38 +00:00
Robin Dunn
28a4550a83 Python 2.7 also has sys.maxsize so we can use that instead of the
six.MAXSIZE alias.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-06 08:05:15 +00:00
Robin Dunn
fdea4ad5cf Now that voidptr is fixed and can be constructed with an integer, there
is no need to add a kludge to use integer as a pointer from Python.  So
get rid of the extra wxDataViewItem constructor.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-06 08:05:07 +00:00
Robin Dunn
505ce0e43e Be a little smarter about what types to use for wx[U]IntPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-06 08:04:51 +00:00
Robin Dunn
f039b3dad2 It is just wxDataViewChoiceByIndexRenderer that is only available in the
generic version.  Add wrapper for wxDataViewChoiceRenderer.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-06 08:04:01 +00:00
Robin Dunn
8971a8a38b sys.maxint —> six.MAXSIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-27 07:52:10 +00:00
Robin Dunn
1cb64ffe22 __str__ and __repr__ should return string objects, not bytes. Only encode on PY2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-25 08:27:34 +00:00
Robin Dunn
96b69a7636 Switch all wxToolBarBase to wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-24 06:51:05 +00:00
Robin Dunn
2688614a4d Add wx.FileType.GetIconInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-24 05:15:43 +00:00
Robin Dunn
4a196fafe6 Add the wxEventTypes for the _DAY, _MONTH, _YEAR events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-23 00:20:15 +00:00
Robin Dunn
1253cfb1f0 Uncomment _DAY, _MONTH, and _YEAR events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-23 00:18:53 +00:00
Robin Dunn
67f1e5e703 Fix optionally transferring the ownership of a GridTable when SetTable is called.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-23 00:18:36 +00:00
Robin Dunn
00c2a11514 Add and test wx.IntersectRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-15 07:28:37 +00:00
Robin Dunn
ad00674de2 Fix virtual catcher for EndEdit.
Fix ownership transfer for wxGridCellAttr.SetEditor and SetRenderer.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-14 02:34:41 +00:00
Robin Dunn
e8fafd31e5 Add missing EVT_STC_HOTSPOT_RELEASE_CLICK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-10 05:39:34 +00:00
Robin Dunn
7d0f393c5f Switch to a 3 component+tag versioning scheme instead of the 4 component scheme used by Classic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-02 01:47:27 +00:00
Robin Dunn
803287a77a Where did wxMenuItem::GetAccelFromString go?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-30 03:33:04 +00:00
Robin Dunn
05c57f5faa Deal with OSXGetAppleMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-29 05:32:43 +00:00
Robin Dunn
4210d4352e GetAccel creates a new instance, mark it as a factory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-29 03:44:57 +00:00
Robin Dunn
a8362f3750 Fix WebKitCtrl ctor and Create() default arg values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-29 03:44:30 +00:00
Robin Dunn
bcaf5ebcbf Add RemoveItem and RemoveMenu aliases for Classic code compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-29 03:44:22 +00:00
Robin Dunn
c49eec2401 Fix copyright.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-29 03:44:13 +00:00
Robin Dunn
cf81dd29ef Add wxWebKitCtrl wrappers for Phoenix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-29 03:44:04 +00:00
Robin Dunn
ac8f37e258 Add missing EVT_WIZARD_BEFORE_PAGE_CHANGED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-29 03:43:18 +00:00
Robin Dunn
9d2231bae9 Fix print statement for Py3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-29 03:43:10 +00:00
Robin Dunn
911f823333 Deal with object IDs that are larger than 2**63
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-02 20:10:15 +00:00
Robin Dunn
ad970056d3 ignore ShowWindowModalThenDo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-09-08 19:02:03 +00:00
Robin Dunn
a9c0aa5211 No need to ignore IsGregorianDate any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-08-10 20:52:39 +00:00
Robin Dunn
7d377443b6 Ignore both CallAfters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-21 16:35:55 +00:00