Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.msw.Metafile.SetClipboard.1.py
2016-08-13 17:33:33 -07:00

10 lines
212 B
Python

dc = wx.MetafileDC()
if dc.IsOk():
self.DoDrawing(dc)
metafile = dc.Close()
if metafile:
success = metafile.SetClipboard(dc.MaxX() + 10, dc.MaxY() + 10)