Fix another line somehow missing from the wxGraphicsBitmap forward port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1040,8 +1040,8 @@ wxCairoBitmapData::wxCairoBitmapData( wxGraphicsRenderer* renderer, const wxBitm
|
|||||||
{
|
{
|
||||||
wxCHECK_RET( bmp.IsOk(), wxT("Invalid bitmap in wxCairoContext::DrawBitmap"));
|
wxCHECK_RET( bmp.IsOk(), wxT("Invalid bitmap in wxCairoContext::DrawBitmap"));
|
||||||
|
|
||||||
int bw = bmp.GetWidth();
|
int bw = m_width = bmp.GetWidth();
|
||||||
int bh = bmp.GetHeight();
|
int bh = m_height = bmp.GetHeight();
|
||||||
wxBitmap bmpSource = bmp; // we need a non-const instance
|
wxBitmap bmpSource = bmp; // we need a non-const instance
|
||||||
m_buffer = new unsigned char[bw*bh*4];
|
m_buffer = new unsigned char[bw*bh*4];
|
||||||
wxUint32* data = (wxUint32*)m_buffer;
|
wxUint32* data = (wxUint32*)m_buffer;
|
||||||
|
Reference in New Issue
Block a user