X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbf1f0e5cffb8c01696eb26e254857a61f017d70..46f9bb9475c95ef7ce6420462253e9382006714c:/utils/nplugin/src/npframe.cpp diff --git a/utils/nplugin/src/npframe.cpp b/utils/nplugin/src/npframe.cpp index e3e3f63661..2e050c174b 100644 --- a/utils/nplugin/src/npframe.cpp +++ b/utils/nplugin/src/npframe.cpp @@ -246,7 +246,7 @@ void wxPluginFrame::OnNPPrint(NPPrint* printInfo) void* platformPrint = printInfo->print.embedPrint.platformPrint; HDC hDC = (HDC) platformPrint; - wxRectangle rect; + wxRect rect; rect.x = printWindow->x; rect.y = printWindow->y; rect.width = printWindow->width; @@ -265,7 +265,7 @@ void wxPluginFrame::OnNPPrint(NPPrint* printInfo) } } -void wxPluginFrame::OnPrint(wxPrinterDC& dc, wxRectangle& rect) +void wxPluginFrame::OnPrint(wxPrinterDC& dc, wxRect& rect) { // We must do some transformations here RECT winRect;