[wxPython-users] Can't clear Clipping region in PaintDC

Christopher Barker Chris.Barker at noaa.gov
Mon Oct 23 17:30:55 PDT 2006


Kent Quirk wrote:
> Given that you may or may not have specified flags in the original 
> method, you have to do that set of tasks. But you can do it in one line 
> if you want:
> 
>        # make sure the FULL_REPAINT_ON_RESIZE flag is on
>        kwargs['style'] = kwargs.get('style', 0) | wx.FULL_REPAINT_ON_RESIZE

Yes, that's a bit cleaner. Thanks.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer
                                     		
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list