1
0
python-wxPython/wxPython-4.1.1-fix-overrides.patch

14 lines
449 B
Diff
Raw Normal View History

Accepting request 898558 from home:1Antoine1:branches:X11:wxWidgets - Update to version 4.1.1: * wxWidgets is now validating the flags passed when adding items to a sizer, to ensure that they are the correct flags for the type of the sizer. If the given flags do not make sense, for example using horizontal alignment flags in a horizontal box sizer, then a wxAssertionError error is raised. * Fixed missing binder for wxEVT_STC_AUTOCOMP_SELECTION_CHANGE. (PR#1613). * DataViewModel.HasValue can be overridden and will inform the DataViewCtrl whether or not an item and column has data. If HasValue returns False, then GetValue for that item/col will not be called. This allows a distinction between a truly empty cell, and one that has a value even if it is an empty string. (PR#1600) * Added flag that allows blocking of item dragging in the UltimateListControl class. (PR#1620) * Add the column index to notification events in UltimateListControl (PR#1630). * Added orientation parameter to UltimateListControl.GetScrollPos. (PR#1632) * wx.lib.agw.aui.AuiNotebook RemovePage() now hides the removed page, so it needs to be shown again if it is reused in another place. (PR#1668) * Fixed issue that could modify bytes objects under Python. (PR#1680) * Added wx.lib.agw.aui.EVT_AUI_PANE_CLOSE event which is sent when a AUI (the agw version) Pane has been closed (after it has been closed, not when it is about to be closed, which is when EVT_AUI_PANE_CLOSE is sent.) (PR#1628) * Exposed the wx.DC methods GetGraphicsContext and OBS-URL: https://build.opensuse.org/request/show/898558 OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/python-wxPython?expand=0&rev=26
2021-06-11 19:11:39 +02:00
--- wxPython-4.1.1.orig/sip/cpp/sip_gridwxGridEvent.cpp 2020-11-21 20:10:38.000000000 +0100
+++ wxPython-4.1.1/sip/cpp/sip_gridwxGridEvent.cpp 2021-05-16 03:21:55.031555889 +0200
@@ -32,8 +32,8 @@
* this class.
*/
protected:
- int GetRow() SIP_OVERRIDE;
- int GetCol() SIP_OVERRIDE;
+ int GetRow();
+ int GetCol();
::wxEvent* Clone() const SIP_OVERRIDE;
::wxEventCategory GetEventCategory() const SIP_OVERRIDE;