[GRASS-dev] Some wxPython 3 issues

Markus Neteler neteler at osgeo.org
Mon Sep 28 02:04:41 PDT 2015


On Sun, Sep 27, 2015 at 9:48 PM, Anna Petrášová <kratochanna at gmail.com> wrote:
> Could you try this?
>
> Index: animation/mapwindow.py
> ===================================================================
> --- animation/mapwindow.py (revision 66320)
> +++ animation/mapwindow.py (working copy)
> @@ -122,7 +122,7 @@
>          Debug.msg(5, "AnimationWindow.Draw()")
>
>          dc.Clear()  # make sure you clear the bitmap!
> -        if self.bitmap.IsOk():
> +        if self.bitmap.GetWidth() > 1:
>              dc.DrawBitmap(self.bitmap, x=self.x, y=self.y)
>
>      def OnSize(self, event):


Evviva, works!

Markus


More information about the grass-dev mailing list