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;
}
}
-void wxPluginFrame::OnPrint(wxPrinterDC& dc, wxRectangle& rect)
+void wxPluginFrame::OnPrint(wxPrinterDC& dc, wxRect& rect)
{
// We must do some transformations here
RECT winRect;