git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63083
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
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 bh = bmp.GetHeight();
+ int bw = m_width = bmp.GetWidth();
+ int bh = m_height = bmp.GetHeight();
wxBitmap bmpSource = bmp; // we need a non-const instance
m_buffer = new unsigned char[bw*bh*4];
wxUint32* data = (wxUint32*)m_buffer;
wxBitmap bmpSource = bmp; // we need a non-const instance
m_buffer = new unsigned char[bw*bh*4];
wxUint32* data = (wxUint32*)m_buffer;