Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.NonOwnedWindow.SetShape.1.py
2016-05-18 16:38:18 -07:00

8 lines
229 B
Python

size = self.GetSize()
path = wx.GraphicsRenderer.GetDefaultRenderer().CreatePath()
path.AddCircle(size.x/2, size.y/2, 30)
self.SetShape(path)