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

Martin Landa landa.martin at gmail.com
Tue Mar 20 14:10:21 EDT 2012

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

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

More information about the grass-dev mailing list