[GRASS-dev] Some wxPython 3 issues

Anna Petrášová kratochanna at gmail.com
Mon Sep 28 14:55:43 PDT 2015


On Mon, Sep 28, 2015 at 5:04 AM, Markus Neteler <neteler at osgeo.org> wrote:

> 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!
>
>
committed and backported!

Markus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150928/b7ba5a4d/attachment.html>


More information about the grass-dev mailing list