wxCreateMaskedBitmap() is more const correct
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -205,7 +205,7 @@ protected:
|
|||||||
|
|
||||||
// Creates a bitmap with transparent areas drawn in
|
// Creates a bitmap with transparent areas drawn in
|
||||||
// the given colour.
|
// the given colour.
|
||||||
wxBitmap wxCreateMaskedBitmap(wxBitmap& bitmap, wxColour& colour);
|
wxBitmap wxCreateMaskedBitmap(const wxBitmap& bitmap, wxColour& colour);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// _WX_BITMAP_H_
|
// _WX_BITMAP_H_
|
||||||
|
|||||||
@@ -1022,7 +1022,7 @@ XCreateInsensitivePixmap( Display *display, Pixmap pixmap )
|
|||||||
|
|
||||||
// Creates a bitmap with transparent areas drawn in
|
// Creates a bitmap with transparent areas drawn in
|
||||||
// the given colour.
|
// the given colour.
|
||||||
wxBitmap wxCreateMaskedBitmap(wxBitmap& bitmap, wxColour& colour)
|
wxBitmap wxCreateMaskedBitmap(const wxBitmap& bitmap, wxColour& colour)
|
||||||
{
|
{
|
||||||
wxBitmap newBitmap(bitmap.GetWidth(),
|
wxBitmap newBitmap(bitmap.GetWidth(),
|
||||||
bitmap.GetHeight(),
|
bitmap.GetHeight(),
|
||||||
|
|||||||
Reference in New Issue
Block a user