54 Commits

Author SHA1 Message Date
DietmarSchwertberger
b33ede2106 support EVT_GRID_ROW_MOVE 2022-06-08 21:04:37 +02:00
Scott Talbert
076b41103e Fix a few wx.Grid event issues / tests 2021-12-30 11:51:24 -05:00
Robin Dunn
f321c561ad various tweaks and fixes for wxWidgets update 2021-07-24 16:03:21 -07:00
Robin Dunn
3d1134708e wxGridCellRenderer::Draw has an implementation despite being pure virtual 2020-12-29 14:59:17 -08:00
Robin Dunn
ca3367a340 Enable GridActivationResult and GridActivationSource 2020-09-16 16:38:45 -07:00
Robin Dunn
557cfaf4da New grid selection events 2020-09-10 13:04:59 -07:00
Robin Dunn
f32311e20c Update FIXME notes about the GridActivationResult issue 2020-08-07 14:38:11 -07:00
Robin Dunn
92f8cd2d55 Fix lots of misspelled words 2020-07-14 11:38:32 -07:00
Robin Dunn
bd6733afa2 Add, and ignore for now, some new things in grid 2020-07-08 16:59:11 -07:00
Robin Dunn
07941fc888 Ignore the TryActivate method for now,
some related compilation issues need to be resolved first.
2020-07-07 16:52:45 -07:00
Robin Dunn
56dc1f699e Update changelog for recent changes 2020-06-29 10:08:44 -07:00
Robin Dunn
c369038ad4 Tweaks needed for new wxWidgets changes 2020-06-26 22:35:51 -07:00
Robin Dunn
f8ced7977b Remove a hack that is no longer needed 2020-06-17 13:00:33 -07:00
Scott Talbert
e7288e6047 Add some missing private assignment operators
This is needed as part of fixing #1636 as a new version of SIP is required,
which makes these changes necessary.

(cherry picked from commit 676b95ad17)
2020-06-16 20:51:54 -07:00
Robin Dunn
260d08e32d wxGRIDTABLE_REQUEST_VIEW_GET_VALUES and wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES have been removed from wxWidgets 2020-04-17 20:18:58 -07:00
Robin Dunn
e1b0435f8e Added wrappers for the wx.grid.GridBlockCoords, wx.grid.GridBlocks, and wx.grid.GridBlockDiffResult classes 2020-04-17 16:35:37 -07:00
Robin Dunn
9f2cc54b48 Update copyright years 2020-03-10 11:41:39 -07:00
Robin Dunn
3761507882 wxObjectDataPtr, wxGridCell*Ptr, and other changes needed for updated wxWidgets 2020-03-05 09:48:09 -08:00
Robin Dunn
11e4cf1f82 Add wxGridFitMode 2020-01-22 15:48:31 -08:00
Robin Dunn
d81d4bd9ff wxGrid now derives from wxScrolledCanvas 2019-10-25 21:24:24 -07:00
Robin Dunn
059e1bee65 Check for Python errors upon return from overloaded virtual methods 2019-09-05 18:55:39 -07:00
Robin Dunn
f7ff075f45 Various fixes and tweaks to go with the wxWidgets update 2019-07-31 12:20:00 -07:00
Robin Dunn
5d078557bf Lots of updates to get caught up with wxWidgets master (3.1.3+) 2019-05-23 21:43:40 -07:00
Robin Dunn
229870f9c9 Add a __bool__ for every __nonzero__ that doesn't already have one 2018-10-12 23:58:16 -07:00
Robin Dunn
b77c88a280 Merge tag 'wxPython-4.0.2' into wxPy-4.0.x
(cherry picked from commit 4c56c39e52)
2018-06-17 22:04:22 -07:00
Robin Dunn
cff5cfa6e9 Fixes for some unittests 2018-02-18 22:05:45 -08:00
Robin Dunn
87d7edab83 Lots of changes needed to get things building again after switching to wxWidgets master 2018-02-09 15:15:01 -08: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