X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbf1f0e5cffb8c01696eb26e254857a61f017d70..05b735af0d123fe847f51065a1f8c2d2fdd1baf4:/utils/nplugin/src/npframe.cpp diff --git a/utils/nplugin/src/npframe.cpp b/utils/nplugin/src/npframe.cpp index e3e3f63661..47401b59b9 100644 --- a/utils/nplugin/src/npframe.cpp +++ b/utils/nplugin/src/npframe.cpp @@ -93,7 +93,7 @@ void wxPluginFrame::GetClientSize(int *x, int *y) const } // Set the client size (i.e. leave the calculation of borders etc. -// to wxWindows) +// to wxWidgets) void wxPluginFrame::SetClientSize(const int width, const int height) { if ( !m_hWnd ) @@ -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;