Several days ago I found How to draw gradient buttons post at Native Mobile blog. Looks nice but I think that using
GradienFill()
is not very convenient because you need to fill all these TRIVERTEX
structures. wxWidgets provides more convenient way of drawing gradients by using wxDC::GradientFillLinear()
. Here is how it can be done in wxWidgets: