mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-28 06:30:08 +01:00
Enable wrapping wxGraphicsContext::Create(metaFileDC)
(cherry picked from commit 6c3ce18e17)
9 lines
170 B
Python
9 lines
170 B
Python
|
|
dc = wx.MetafileDC()
|
|
if dc.IsOk():
|
|
self.Draw(dc)
|
|
mf = dc.Close()
|
|
if mf:
|
|
mf.SetClipboard(dc.MaxX() + 10, dc.MaxY() + 10)
|
|
|