Ticket #15389 (closed defect: fixed)
wxImage::ConvertToDisabled does modify *this object in place
|Reported by:||jbbbms||Owned by:|
wxImage::ConvertToDisabled does modify *this object in place, which seems to unintentionally conflict with the const declaration of the method.
Please refer to the patch file. The op = of wxImage is to increase the ref count, not to deep copy *this. As the result, *this will be changed, which is probably not what we want. We will lose the original image.