[GRASS-git] [OSGeo/grass] ecd135: wxGUI: more Python 3.10 fixes (#2050)
Anna Petrasova
noreply at github.com
Thu Dec 30 19:10:57 PST 2021
Branch: refs/heads/releasebranch_7_8
Home: https://github.com/OSGeo/grass
Commit: ecd13587d7ccde56b9f443ee884870076983c471
https://github.com/OSGeo/grass/commit/ecd13587d7ccde56b9f443ee884870076983c471
Author: Anna Petrasova <kratochanna at gmail.com>
Date: 2021-12-30 (Thu, 30 Dec 2021)
Changed paths:
M gui/wxpython/animation/frame.py
M gui/wxpython/animation/provider.py
M gui/wxpython/gmodeler/frame.py
M gui/wxpython/gui_core/dialogs.py
M gui/wxpython/gui_core/forms.py
M gui/wxpython/gui_core/widgets.py
M gui/wxpython/gui_core/wrap.py
M gui/wxpython/mapswipe/frame.py
M gui/wxpython/nviz/tools.py
M gui/wxpython/psmap/dialogs.py
M gui/wxpython/psmap/frame.py
Log Message:
-----------
wxGUI: more Python 3.10 fixes (#2050)
* wxGUI/gui_core: SpinCtrl widget require integer min, max param arg
* wxGUI/gui_core: add ConvertParamArgToInt mixin class for conversion args, kwargs float value to the int
* wxGUI/gui_core: Rect widget require integer x, y param arg
* wxGUI/gui_core: PseudoDC widget DrawRectangle method require integer x, y, width, height param arg
* wxGUI/psmap: wx.MemoryDC widget DrawBitmap method require integer x, y param arg
* wxGUI/psmap: wx.Rect widget Inflate method require integer dx, dy param arg
* wxGUI/gui_core: PseudoDC widget DrawBitmap method require integer x, y param arg
* wxGUI/gui_core: PseudoDC widget DrawCircle method require integer x, y, radius param arg
* wxGUI/gui_core: PseudoDC widget DrawLinePoint method require integer x1, y1, x2, y2 param arg
* wxGUI/gui_core: Rect widget CenterIn method require wx.Rect r param arg
* wxGUI/gui_core: PseudoDC widget SetIdBounds method require wx.Rect rect param arg
Co-authored-by: Tomas Zigo <tomas.zigo at slovanet.sk>
More information about the grass-commit
mailing list