9 Commits

Author SHA1 Message Date
Stefan Brüns
88b8565654 Fix overflow check for wxUIntPtr type
long is 32bit on 32-bit archs and on Win64 (see
https://en.cppreference.com/w/cpp/language/types ). As SIP uses
PyLong_AsLongLong internally and uses an extra bounds check only if
explicitly enabled("sip.enableoverflowchecking(True)"), the overflow
only triggers when it also overflows `long long`, i.e. when
_LONG_MAX == _LLONG_MAX.
2022-08-14 01:30:33 +02:00
Stefan Brüns
dab4757525 Remove tests for removed OS/2 list states, and invalid hittest case
These states were OS/2 specific and have been removed:
https://github.com/wxWidgets/wxWidgets/commit/01f9accd19755fdc
("Remove wxPM, wxWidgets port to OS/2.")

ONITEMRIGHT is only meaningfull for trees, and was removed from the
interface:
https://github.com/wxWidgets/wxWidgets/commit/6c9b3a825407b362
("Improved wxListCtrl::HitTest() docs")
2020-10-02 20:42:54 +02:00
Robin Dunn
1be80aca7c Add missing DeleteAllColumns 2017-08-29 18:29:27 -07:00
Robin Dunn
69072e270b Monkey-patch SetItemData to check that the data value is not too bit or too small 2017-08-15 21:18:47 -07:00
Metallicow
9568103974 Trim trailing space unittests directory 2016-12-05 16:19:11 -06:00
Robin Dunn
e13273c5d9 Test wx.ListEvent properties 2016-09-14 20:26:30 -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
af2a23c0ee Add listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-26 19:22:09 +00:00