X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b737ad10dec946cd7d5e38c43c666e8efe89f0ae..eba99da4c0563e6508761272a1e1f1b791d0af6b:/include/wx/image.h diff --git a/include/wx/image.h b/include/wx/image.h index 61f54d16cf..665d89534e 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -14,7 +14,7 @@ #pragma interface "image.h" #endif -#include "wx/setup.h" +#include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" #include "wx/gdicmn.h" @@ -182,9 +182,9 @@ public: // Paste the image or part of this image into an image of the given size at the pos // any newly exposed areas will be filled with the rgb colour - // by default if r = g = b = -1 then fill with this image's mask colour or find and + // by default if r = g = b = -1 then fill with this image's mask colour or find and // set a suitable mask colour - wxImage Size( const wxSize& size, const wxPoint& pos, + wxImage Size( const wxSize& size, const wxPoint& pos, int r = -1, int g = -1, int b = -1 ) const; // pastes image into this instance and takes care of @@ -200,7 +200,7 @@ public: wxImage& Rescale( int width, int height ) { return *this = Scale(width, height); } // resizes the image in place - wxImage& Resize( const wxSize& size, const wxPoint& pos, + wxImage& Resize( const wxSize& size, const wxPoint& pos, int r = -1, int g = -1, int b = -1 ) { return *this = Size(size, pos, r, g, b); } // Rotates the image about the given point, 'angle' radians.