Changed wxRectangle to wxRect. Sorry for the bandwidth...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
@@ -65,7 +65,7 @@ public:
|
||||
virtual void OnNPPrint(NPPrint* printInfo);
|
||||
|
||||
// Overridables: high-level
|
||||
virtual void OnPrint(wxPrinterDC& dc, wxRectangle& rect);
|
||||
virtual void OnPrint(wxPrinterDC& dc, wxRect& rect);
|
||||
virtual void OnDraw(wxDC& dc);
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user