X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ffa221c5897a4881377fd35181a5ea18c4dc04b..6e807169c4b63b29b42c36ae15141a31adb29204:/include/wx/image.h diff --git a/include/wx/image.h b/include/wx/image.h index 93d16b3778..bbe0f2e6f9 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -255,7 +255,7 @@ public: wxImage Scale( int width, int height ) const; // rescales the image in place - void Rescale( int width, int height ) { *this = Scale(width, height); } + wxImage& Rescale( int width, int height ) { return *this = Scale(width, height); } // these routines are slow but safe void SetRGB( int x, int y, unsigned char r, unsigned char g, unsigned char b );