Using staticbitmap instead of buttons:
1, I create a Mask with a circle (this will only allow the outline of the circle to be seen)
(I use a brush like this: {0,0,0} colour, style: ?wxTRANSPARENT)
2, I create a black pic and make my Mask to be its mask
3, This will be the Label of the staticbitmap
It looks like this: (I changed back the background colour of the panel to system default)
wxWidgets windows version / linux version difference (wxList
Re: wxWidgets windows version / linux version difference (wx
To make sure that there is no problem with the mask creation, can you test with a "real" transparent image, e.g. the toucan.png from the wxWidgets "image" sample?
Maybe you could make the bitmap so that the circle touches the edge of the control. That way the white border would be less noticable.
Maybe you could make the bitmap so that the circle touches the edge of the control. That way the white border would be less noticable.
Use the source, Luke!