SetClippingRegion

Hi,
I'm not shure if this was already discussed here. I'm working on a graphical
window which draws simple 2D information on a buffered window. In my drawing
routine i use DrawLines to draw the grid, then i set up a clipping region
do draw the data information. My problem is that i can't see the graph on
Linux (Mandrake 9.1, newest wxPython, python 2.2.3) while there are no
problems on Windows (NT, 2000, XP, same python versions). It seems that
SetClippingRegion on Linux seems to protect the whole buffer, not only the
rectangle i looking for.
Has anybody some hints or workarounds for me? In first i thought about
compiling problems on Linux, but a friend of mine tried the binaries and he
can't see the graph either.
Thanx in advance
Oliver

Oliver Walczak wrote:

Hi,
I'm not shure if this was already discussed here. I'm working on a graphical
window which draws simple 2D information on a buffered window. In my drawing
routine i use DrawLines to draw the grid, then i set up a clipping region
do draw the data information. My problem is that i can't see the graph on
Linux (Mandrake 9.1, newest wxPython, python 2.2.3) while there are no
problems on Windows (NT, 2000, XP, same python versions). It seems that
SetClippingRegion on Linux seems to protect the whole buffer, not only the
rectangle i looking for.
Has anybody some hints or workarounds for me? In first i thought about

Please reduce your app to a small sample that shows just this problem and then people here will be able to take a look and offer suggestions.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!