mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 21:10:06 +01:00
14 lines
351 B
Python
14 lines
351 B
Python
|
|
def MyFunction(dc):
|
|
|
|
clip = wx.DCClipper(dc, rect)
|
|
# ... drawing functions here are affected by clipping rect ...
|
|
|
|
|
|
def OtherFunction():
|
|
|
|
dc = wx.DC()
|
|
MyFunction(dc)
|
|
# ... drawing functions here are not affected by clipping rect ...
|
|
|