]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/prntbase.cpp
added conversions via UniChar for wchar = 4 bytes versions
[wxWidgets.git] / src / common / prntbase.cpp
index c16bc4fd65ebfc64fcd7cf5be8e195acafb24f23..c047f6d3cd258c909bccea78d6013b450d227a2b 100644 (file)
@@ -772,12 +772,6 @@ bool wxPrintPreviewBase::RenderPage(int pageNum)
     int actualWidth = (int)(zoomScale*m_pageWidth*m_previewScale);
     int actualHeight = (int)(zoomScale*m_pageHeight*m_previewScale);
 
-    int x = (int)((canvasWidth - actualWidth)/2.0);
-    if (x < m_leftMargin)
-        x = m_leftMargin;
-    //  int y = m_topMargin;
-
-
     if (!m_previewBitmap)
     {
         m_previewBitmap = new wxBitmap((int)actualWidth, (int)actualHeight);