All: Fix Assertion on sheet properties, in debug mode

This commit is contained in:
l. 2012-07-11 10:02:47 +02:00 committed by jean-pierre charras
parent 701140a6dd
commit 8234b9e184
1 changed files with 1 additions and 1 deletions

View File

@ -624,8 +624,8 @@ void DIALOG_PAGES_SETTINGS::UpdatePageLayoutExample()
// Prepare DC.
wxSize example_size( lyWidth, lyHeight );
wxMemoryDC memDC;
memDC.SetClippingRegion( wxPoint( 0, 0 ), example_size );
memDC.SelectObject( *m_page_bitmap );
memDC.SetClippingRegion( wxPoint( 0, 0 ), example_size );
memDC.Clear();
memDC.SetUserScale( scaleW, scaleH );