I've put some icons in my program. They had ugly borders so I looked into the
docs on how to mask them. There docs talk about a few api calls which didn't
exist, but I was finally able to get it to work with the following sequence.
I'm just wondering, is there a better, or faster way to do this?
That's how I usually do it. If you use an image format that has the mask or
background colour built in then wxBitmap and wxImage should recognise that
and you won't have to explicily set the mask yourself.