Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/NonOwnedWindow.SetShape.1.py
2012-04-10 03:16:37 +00: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)