making sure pdf pages are correctly layouted

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-10-21 18:12:25 +00:00
parent d0a2daec58
commit b724d57fc7

View File

@@ -138,7 +138,7 @@ wxMetafileRefData::wxMetafileRefData( int width, int height)
CGPDFContextBeginPage(m_context, NULL);
else
#endif
CGContextBeginPage(m_context, NULL);
CGContextBeginPage(m_context, &r);
CGColorSpaceRef genericColorSpace = wxMacGetGenericRGBColorSpace();