X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6408deedee874b3fb873e2fc7f1a148e973bd23d..c67b4daf4777c8b7f0a90e67e16079867bd9e18e:/include/wx/image.h diff --git a/include/wx/image.h b/include/wx/image.h index 845de80b5b..ceaad75c96 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -139,6 +139,7 @@ public: wxImage(){} wxImage( int width, int height, bool clear = true ); wxImage( int width, int height, unsigned char* data, bool static_data = false ); + wxImage( int width, int height, unsigned char* data, unsigned char* alpha, bool static_data = false ); wxImage( const wxString& name, long type = wxBITMAP_TYPE_ANY, int index = -1 ); wxImage( const wxString& name, const wxString& mimetype, int index = -1 ); @@ -152,6 +153,7 @@ public: bool Create( int width, int height, bool clear = true ); bool Create( int width, int height, unsigned char* data, bool static_data = false ); + bool Create( int width, int height, unsigned char* data, unsigned char* alpha, bool static_data = false ); void Destroy(); // creates an identical copy of the image (the = operator