From: Kevin Ollivier Date: Wed, 6 Jan 2010 02:22:38 +0000 (+0000) Subject: Fix another line somehow missing from the wxGraphicsBitmap forward port. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/125e7c11c16f23daa4c594f3b8d90194099c2394?ds=sidebyside 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 --- diff --git a/src/generic/graphicc.cpp b/src/generic/graphicc.cpp index 0cc09b6751..a47a9362ac 100644 --- a/src/generic/graphicc.cpp +++ b/src/generic/graphicc.cpp @@ -1040,8 +1040,8 @@ wxCairoBitmapData::wxCairoBitmapData( wxGraphicsRenderer* renderer, const wxBitm { 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;