Commit Graph

34 Commits

Author SHA1 Message Date
Alexandre Detiste
0257f755cf remove most of Python2 compatibility code 2025-02-02 20:17:45 -05:00
Carsten Grohmann
32e80758c7 Fix arguments in docstring of wx.ListCtrl.HitTestSubItem() 2022-09-07 18:08:12 +02:00
Scott Talbert
aa1ef7bd75 Update ETG scripts to support wxWidgets 3.1.6 functionality
Fixes #2136.
2022-05-02 22:33:58 -04:00
Scott Talbert
6da0064551 Replace deprecated PyEval_CallObject with PyObject_CallObject 2022-01-11 17:35:31 -05:00
Robin Dunn
15be2436d1 Give CheckItem.check a default value so it will be less likely for code still using CheckListCtrlMixin to raise an exception. 2020-10-13 16:04:49 -07:00
Robin Dunn
92f8cd2d55 Fix lots of misspelled words 2020-07-14 11:38:32 -07:00
Robin Dunn
285395d9f2 Ensure that OnGetItemIsChecked is overridable in derived classes 2020-04-17 19:56:55 -07:00
Robin Dunn
9f2cc54b48 Update copyright years 2020-03-10 11:41:39 -07:00
Jorge Moraleda
d92bf5c233 Expose EVT_LIST_ITEM_CHECKED and EVT_LIST_ITEM_UNCHECKED in ListCtrl 2020-02-17 21:03:50 -08:00
Robin Dunn
54dc9ac457 Add EnableSystemTheme method to the classes which support it 2019-06-12 13:33:26 -07:00
Robin Dunn
0cfefbbd47 Merge pull request #1030 from RobinD42/fix-issue906
Fix wx.ListCtrl.Append when wx.LC_SORT style is used

(cherry picked from commit 7b6fbf2a52)
2018-10-08 21:14:09 -07:00
Robin Dunn
c4b741b797 Deprecate wx.ListItemAttr 2018-02-10 12:52:23 -08:00
Robin Dunn
f1a24d4978 Add classes that have been added to existing interface headers 2018-02-09 15:03:58 -08:00
Robin Dunn
2113333bbe Move all the EVT_ instantiations to the module object,
so they are found at the right scope in the *.pyi files.
2017-11-17 22:38:57 -08:00
Robin Dunn
62449137d5 Remove MonkeyPatch checking for integer overflow in ListCtrl.SetItemData 2017-11-02 21:39:52 -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
Robin Dunn
788d84a66c Switch the return value type of GetItemData to long,
so it matches the type given to SetItemData
2017-08-15 17:47:49 -07:00
Robin Dunn
4e38994944 Update copyright in etg 2017-02-13 16:14:55 -08:00
Metallicow
ebc8d0d971 trim trailing space etg directory 2016-11-10 12:08:36 -06:00
Robin Dunn
ed4756b902 Remove wx.lib.six and use the stock six module instead,
and add it as an installation dependency.
2016-06-30 20:07:57 -07:00
Robin Dunn
2078c55af7 Use a MappedType for wxIntPtr and wxUIntPtr too. 2016-03-09 20:29:12 -08:00
Robin Dunn
98ffccc725 Switch to new shortened wxEventType names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 07:04:50 +00:00
Robin Dunn
468dcd931c unicode() --> text_type() Fixes #15088
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-06 19:56:39 +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
66840744d2 Phoenix: few corrections to the overviews; Added some more contributed snippets; Fixed some more converted snippets; Added the correct interlink references in the etg files; better handling of the Doxygen stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-05 20:44:52 +00:00
Robin Dunn
2896486c4c fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-28 20:02:53 +00:00
Robin Dunn
9d79e123fa Tweak the deprecation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-11 05:02:43 +00:00
Robin Dunn
aebd862d14 Provide hints for deprecated items about what should be used instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-10 05:15:17 +00:00
Robin Dunn
7009b4d8dd Compile fix for Python3 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-12 21:53:52 +00:00
Robin Dunn
54b96c13a5 Make HitTest return 2 values and add HitTestSubItem that reurns all 3, like in Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-06 01:15:02 +00:00
Robin Dunn
787cfb858e Add and use the wxPyThreadBlocker class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-30 03:24:34 +00:00
Robin Dunn
b41df0b779 Many, many (many!) changes needed to build and run the Phoenix extension modules with Python 3. Where possible changes were made such that the code works with both Python 2.7 and 3.2 without conditionals. In general the following types of changes were made:
* Changed imports to use either absolute or explicit relative imports.  Implicit relative imports are no longer allowed.

 * Changes to accomodate standard library classes or modues moving to other locations, or being removed entirely.

 * Changes related to print becoming a function, execfile being removed, u'' no longer allowed, and other syntax related issues.

 * Working around C APIs that have changed or simply vanished. (PyInt, PyString, PyBytes, etc.)

 * Dealing with text file objects using strings vs binary file objects using bytes, auto-encoding, and etc.

 * Replacing the use of PyCObject with PyCapsule and dealing with an apparent bug where PyCapsule objects can't be imported from submodules within a package.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-24 23:28:02 +00:00
Robin Dunn
9636ae860a MSW build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-07 04:17:18 +00: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