Commit Graph

326 Commits

Author SHA1 Message Date
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
2c72085b43 Improve frame and app cleanup in WidgetTestCase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-18 03:25:22 +00:00
Robin Dunn
90ee034d74 PR #76: a few wx.lib things for Py33
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-19 21:26:03 +00:00
Robin Dunn
cc91914795 PR #75: some more wx.lib.agw fixes for Py33
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-19 21:25:40 +00:00
Robin Dunn
f6cc70ef71 PR #74: some more wx.lib.agw fixes for Py33
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-19 21:25:24 +00:00
Robin Dunn
b58599433d PR #73: a few wx.lib things for Py33
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-19 21:24:58 +00:00
Robin Dunn
55c21ec895 Add test for wx.grid.Grid.SetCellHighlightPenWidth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-02 00:13:53 +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
09a9eae1ba Make the pubsub tests Py3 compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-26 03:54:09 +00:00
Robin Dunn
207c1f294c PR 68: update unit tests for pubsub
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-26 03:53:59 +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
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
aac2c7eb12 Skip pdfviewer tests for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-07 03:04:55 +00:00
Robin Dunn
7cadc774f0 Make it possible to run a subset of unit tests from the command line using standard wildcards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-06 08:05:32 +00:00
Robin Dunn
5e06f04c53 Hack the pubsub unittests so they are at least importable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-06 08:05:24 +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
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
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
503913f34c PR 48: CDate and Calendar unittest
- comply with file naming convention
- comply with class and method naming convention
- basic tests for lib.calendar

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-14 03:08:53 +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
6ad7622dec PR 29 from Werner
- make CDate compatible with py2/py3
- add documentation to CDate and add Phoenix tags
- create some unittests for CDate

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-11 21:39:23 +00:00
Robin Dunn
09be7d166b Add test for wx.FlexGridSizer.GetColWidths and GetRowHeights
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-10 05:39:42 +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
e55a2de09b Add webkit unit tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-29 03:44:39 +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
2cd58fb789 Explicitly close the subprocess' stdout stream when we're done with it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 20:55:27 +00:00
Robin Dunn
f00fa32e46 Merged some additional changes from PR #17
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 20:54:55 +00:00
Robin Dunn
2e30a88173 Some Py3 and various other fixes from wxGuru.
Merged and squashed from https://github.com/RobinD42/Phoenix/pull/15,
with additional edits.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 20:54:22 +00:00
Robin Dunn
b0842a986d More unittests and fixes for issues found by the tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:37:23 +00:00
Robin Dunn
543dcf303a Add some richtextbuffer unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:36:53 +00:00
Robin Dunn
7d36253d08 Add even more richtext modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:34:27 +00:00
Robin Dunn
0a30cc5971 Add richtextprint module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:33:51 +00:00
Robin Dunn
84cbb61a81 Add richtexthtml and richtextxml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:32:50 +00:00
Robin Dunn
2273844303 Add richtextctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:32:17 +00:00
Robin Dunn
ce4424c4ea Initial add of richtext modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:28:44 +00:00
Robin Dunn
a41fd0304a Add wx.ModalDialogHook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-07 03:02:32 +00:00
Robin Dunn
2ce1645016 Rename script used by test_process...
...so it is less likely to be picked up by auto-testers as a unittest.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:19:02 +00:00
Robin Dunn
ba06b9e625 Add tests for SetMin SetMax
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-16 18:08:03 +00:00
Robin Dunn
0297c02a7e Use an existing bitmap file so tests will pass
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-14 02:54:05 +00:00
Robin Dunn
a9f3859f3e Floatcanvas docs and test updates from Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-14 02:53:56 +00:00
Robin Dunn
afcebe6210 I copied the same file twice, remove the extra and add the missing one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 22:31:20 +00:00
Robin Dunn
bec4835bbd fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 22:26:10 +00:00
Robin Dunn
31ecbfd79c fix usage of wrong wx.Font ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 22:26:02 +00:00
Robin Dunn
d9868d28d4 Add more pubsub unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 21:51:37 +00:00
Robin Dunn
0b84f453ce - Fix Py Events to clone properly from derived classes by implementing some Python magic in an overridden Clone() method.
- Update unittests accordingly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 04:46:16 +00:00
Robin Dunn
5077a51507 write temp file to unittests folder, and remove it when done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:00:44 +00:00