]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/nplugin/src/npframe.cpp
Better doc
[wxWidgets.git] / utils / nplugin / src / npframe.cpp
index e3e3f636610d9966df47eefe5285b1ca055f0208..2e050c174b6cb6364124b3678be81afb963038e0 100644 (file)
@@ -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;