Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/NonOwnedWindow.SetShape.1.py
2011-12-30 19:17:09 +00:00

8 lines
236 B
Python

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