X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f415cab9ef1433413a1a68a982ee9b17c5a8deda..69659fd770f615210efac4b4fa741b3ad6223616:/src/msw/printwin.cpp diff --git a/src/msw/printwin.cpp b/src/msw/printwin.cpp index 2eadf2547f..975a0936fd 100644 --- a/src/msw/printwin.cpp +++ b/src/msw/printwin.cpp @@ -42,7 +42,7 @@ #endif #include "wx/msw/printwin.h" -#include "wx/msw/printdlg.h" // RJL used Windows dialog?s +#include "wx/msw/printdlg.h" #include "wx/msw/private.h" #include @@ -368,7 +368,7 @@ void wxWindowsPrintPreview::DetermineScaling() int logPPIPrinterX; int logPPIPrinterY; - wxRect paperRect; + wxRect paperRect; if ( printerDC.Ok() ) { @@ -380,7 +380,7 @@ void wxWindowsPrintPreview::DetermineScaling() logPPIPrinterX = ::GetDeviceCaps(dc, LOGPIXELSX); logPPIPrinterY = ::GetDeviceCaps(dc, LOGPIXELSY); - paperRect = printerDC.GetPaperRect(); + paperRect = printerDC.GetPaperRect(); if ( logPPIPrinterX == 0 || logPPIPrinterY == 0 || @@ -400,7 +400,7 @@ void wxWindowsPrintPreview::DetermineScaling() logPPIPrinterX = 600; logPPIPrinterY = 600; - paperRect = wxRect(0, 0, printerXRes, printerYRes); + paperRect = wxRect(0, 0, printerXRes, printerYRes); m_isOk = false; } m_pageWidth = printerXRes;