From WxWiki
Jump to navigation Jump to search

SetClippingRegion () DestroyClippingRegion ()

wx.chm 2.8.7 At the beginning is not very clear how to use clipping regions (how create/remove is paired). After looking at Widgets' samples, I've found : 1) clipping regions are not stacked, and every SetClippingRegion () request removes previous clipping. 2) SetClippingRegion () not requires mandatory clipping region deletion after it's usage.

DestroyClippingRegion () description looks ok.

Use that ^^ info (if you'll find necessary) and delete this message.