]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/graphicc.cpp
fixing non-precomp builds
[wxWidgets.git] / src / generic / graphicc.cpp
index 0cc09b67517f8ee711e8589e18828f2cf5978cc8..a47a9362ac0bdbcd2485b3250b9084f63b576fff 100644 (file)
@@ -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;