warning fixes for BCC and OW (heavily modified patch 819146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user