Commit Graph

15 Commits

Author SHA1 Message Date
Robin Dunn
ad25565baa Merge pull request #1080 from swt2c/fix_dataview_test
Fix dataview test on Python 2
(cherry picked from commit d565a3500f)
2018-11-30 14:44:39 -08:00
Robin Dunn
cff5cfa6e9 Fixes for some unittests 2018-02-18 22:05:45 -08:00
Robin Dunn
326d707717 Fix comparing DataViewItem with None 2017-11-07 15:42:25 -08:00
Robin Dunn
123642f1b0 Use sys.maxsize so the test works for 32bit builds too 2017-01-31 08:29:15 -08:00
Metallicow
9568103974 Trim trailing space unittests directory 2016-12-05 16:19:11 -06:00
Robin Dunn
b8138a2a2f Fix imports in some tests and in floatcanvas 2016-07-01 01:45:53 -07:00
Robin Dunn
bb01dc0d7f Use absolute import of wtc in the unittest modules, instead of depending on them being run as __main__ and getting the folder on the sys.path by default. 2016-06-30 16:49:19 -07:00
Robin Dunn
4f38ee259d Remove imp_unittest 2016-05-07 19:16:28 -07:00
Robin Dunn
21ea5db38e Merge pull request #83 from wernerfb/june_fixtests
some unittest corrections for Py3
2015-02-04 13:44:47 -08: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
Werner F Bruhin
72b529b599 - fix the check for long for py3 2014-06-10 13:54:05 +02: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
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
984ef83099 Add a new wxDataViewItem ctor accepting an integer value.
Apparently sip used to auto-convert from int to void* but it doesn't anymore. Fixes #15135

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:04:38 +00:00
Robin Dunn
aacc033a6d Add the rest of the dataview classes, lots of unittests and supporting helpers and MappedTypes.
Update existing dataview and variant classes and MappedTypes to add missing features and such needed for Classic compatibility and full coverage of the API.

Add some samples ported from the Classic demo so the DVC and related classes can be seen in action.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:22:20 +00:00