mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-18 09:47:07 +01:00
⁉️ Not sure if the generated .rst stuff is intended to have
whitespace like this in it or not, so seperating this from the other
commits, so easy to revert if necessary.
14 lines
311 B
Python
14 lines
311 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 ...
|
|
|