All: Fix Assertion on sheet properties, in debug mode
This commit is contained in:
parent
701140a6dd
commit
8234b9e184
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue