Hello,
unfortunately, the wxSmith bug is not solved (colours & font editors in wxPropertyGrid not displaying image).
I have however found a fix for the wxsMyColourPropertyClass.
The problem come from a change in name of a virtual method :
from virtual
wxSize GetImageSize() const;
to
virtual wxSize OnMeasureImage(int item = -1) const;
I have created a new method OnMeasureImage, and now it works !
See patch attached.
Hopefully it will always be that simple for all others regressions in wxSmith.
Regards,
Sebastien
PS: it is written in the wxWidgets doc:
virtual void wxPGProperty::OnCustomPaint ( wxDC & dc,
const wxRect & rect,
wxPGPaintData & paintdata
) [virtual]
Override to paint an image in front of the property value text or drop-down list item (but only if wxPGProperty::OnMeasureImage is overridden as well).