[GRASS-dev] wxGUI: save display to graphic file bug

Markus Metz markus.metz.giswork at googlemail.com
Wed Mar 21 04:14:04 EDT 2012

On Tue, Mar 20, 2012 at 7:10 PM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi Markus,
> 2012/2/24 Markus Metz <markus.metz.giswork at googlemail.com>:
>> In the wxGUI, "save display to graphic file" is not working in
>> wingrass and should not work in linux, because SaveToFile uses
>> wx.BufferedPaintDC() which is in this case illegal because it can only
>> be used inside of an EVT_PAINT event handler [0], and SaveToFile is
>> not an EVT_PAINT event handler, that handler is OnPaint. The last bit
>> of the traceback is
> right, could you apply the patch? Thanks. Martin

Already done 5 days ago for all branches in r51068, r51075, r51076.

Markus M

> --
> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

More information about the grass-dev mailing list