mc2r wrote:
Then don't cry like one. Since we are all adults an honest and cool critique shouldn't cause offense.
Certainly, but I want get answer - is it wxWidgets bug or not and how fix it, please attentively read title, so your advice was useless
I cannot post all code - it placed in many files, but there steps one by one:
1. Transfer data to my child of wxPrintout
2. Request page preview from Printout:
Code: Select all
m_pPrint->SetPageSizePixels( tSize.x, tSize.y );
wxBitmap t_bmpMini( tSize.x, tSize.y );
wxMemoryDC tDC( t_bmpMini );
tDC.SetPen( *wxWHITE );
tDC.SetBrush( *wxWHITE );
tDC.DrawRectangle( 0, 0, tSize.x, tSize.y );
m_pPrint->SetDC( &tDC );
m_pPrint->OnPrintPage( inNumber );
tDC.SelectObject( wxNullBitmap );
3. Draw page in Printout - please see first post
4. Get result bitmap and draw it on screen
On attachments two identical reports which difference only in picture that shown on top