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 20 months ago by jbbbms
comment:1 Changed 20 months ago by jbbbms
- Cc vgdoqd@… added
- Keywords wxImage ConvertToDisabled added
comment:2 Changed 20 months ago by jbbbms
- Keywords changed from wxImage ConvertToDisabled to wxImage, ConvertToDisabled