Commit Graph

28 Commits

Author SHA1 Message Date
Robin Dunn
b410f5e570 Update copyright years --> 2018 2018-06-06 10:59:51 -07:00
Metallicow
c76384d458 Trim trailing whitespace *.py files 2018-01-16 08:47:07 -06: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
66b4a7966d Enable wxArray wrappers to return copy from __getitem__.
This solves problems where an array that is the return value of some method call is indexed immediately and a reference to the array is not held, which could result in garbage values for the indexed item. Currently this is turned on for just GridCellCoordsArray, but others can be switched in the future if needed.
2017-10-12 14:33:15 -07:00
Robin Dunn
60ba661bbd The old names for the wxGridSelectionModes enum had leading "wx", put it back 2017-07-17 12:19:05 -07:00
Robin Dunn
ae60e1b064 Restore the renames done in Classic for the wxGridSelectionModes enum 2017-06-12 13:27:30 -07:00
Robin Dunn
2e706e7aba Set wx.RefCounter objects to be owned by C++.
Set the /Transfer/ annotation on the ctors, because the C++ objects will always own themselves and will delete themselves when their C++ refcount drops to zero.
2017-05-23 13:18:53 -07:00
Robin Dunn
bae2b7f046 Acquire the GIL in the value type Get() methods 2017-05-09 19:29:14 -07:00
Robin Dunn
e6c6116f5b Fix GridTableBase.GetValue and related methods to work more like they did in Classic. 2017-05-05 17:19:01 -07:00
Robin Dunn
b50b321d0e Fix some virtual method signatures 2017-04-25 14:37:50 -07:00
Robin Dunn
0b57a79ab0 Merge branch 'master' into release-prep 2017-04-15 10:30:48 -07:00
Robin Dunn
52facb4d7f Add a GetIM() method to Colour, Point, Size, Rect and other ‘value’ types.
GetIM() returns a replicant of the original object that is immutable, so it can be used as a dictionary key, or etc., but still gives access to the properties by name, which using the Get() method to get a tuple of the values does not do.
2017-04-14 19:19:26 -07:00
Robin Dunn
18bbfac7f9 Fixes for things exposed by the new .pyi files tests. 2017-02-14 18:32:15 -08: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
baa26c88d4 Add missing methods in wxGridCellAttr, update etg and tests too. 2016-09-02 21:01:40 -07:00
Robin Dunn
371a7b4958 Merge branch 'master' into add-ribbon-lib 2016-06-28 16:11:19 -07:00
Robin Dunn
eb13e511ee fix typo 2016-06-24 19:56:51 -07:00
Robin Dunn
d8c7b21911 More Clone methods that need to be marked as Factories. 2016-06-22 14:33:05 -07:00
Scott Talbert
125c3ecc3a Fix memory management issues with Clone() in Grid classes by setting as Factory 2016-06-17 00:05:58 -04:00
Robin Dunn
b553f66b25 More sip-4.16 work. The build now completes w/o errors. 2015-03-23 09:09:32 -07: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
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
3610e27647 Turn virtualness back on for Get*GridLinePen methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-06 19:56:24 +00:00
Robin Dunn
b97f34604c Update samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:13:09 +00:00
Robin Dunn
d9f802f384 Fix EndEdit to use the newvalue/None as the return value instead of bool and a parameter pass-through.
Add first grid sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:12:59 +00:00
Robin Dunn
31a7a477b3 More tweaks and unittests for the wx.grid classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:12:48 +00:00
Robin Dunn
0784c3cc09 First pass at adding wxGrid and related classes. It all compiles, but there is still lots more to do.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:12:14 +00:00