diff --git a/src/generic/graphicc.cpp b/src/generic/graphicc.cpp index b65458a5b6..7b12c41f4c 100644 --- a/src/generic/graphicc.cpp +++ b/src/generic/graphicc.cpp @@ -1319,6 +1319,7 @@ wxCairoBitmapData::wxCairoBitmapData( wxGraphicsRenderer* renderer, cairo_surfac #if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,11,0) if ( cairo_version() >= CAIRO_VERSION_ENCODE(1, 11, 0) ) + { m_width = cairo_image_surface_get_width(m_surface); m_height = cairo_image_surface_get_height(m_surface); }