Creating a Circular Region without a bitmap

Hey,

Is there a way to create a circular wx.Region without using a bitmap?
(Preferebly something that works on wxMac as well as MSW and GTK).

Cheers,
Dan

Daniel Pozmanter wrote:

Hey,

Is there a way to create a circular wx.Region without using a bitmap?
(Preferebly something that works on wxMac as well as MSW and GTK).

No, but you don't need to have a file for the bitmap, just draw a circle onto a memory dc and then set the mask on the bitmap and use that to make your region.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!