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.
Change History (4)
Changed 4 years ago by jbbbms
comment:2 Changed 4 years ago by jbbbms
- Keywords changed from wxImage ConvertToDisabled to wxImage, ConvertToDisabled