changed wxImage::Rescale() to return wxImage& and not void

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-12-16 23:13:23 +00:00
parent 2ffa221c58
commit 6e807169c4
2 changed files with 4 additions and 2 deletions

View File

@@ -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 );