Robert Lang's patch [ 1583183 ] Fixes printing/print preview inconsistencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -223,6 +223,15 @@ void wxPrinterDC::EndPage()
|
||||
// if (m_hDC)
|
||||
// ::EndPage((HDC) m_hDC);
|
||||
} // end of wxPrinterDC::EndPage
|
||||
|
||||
wxRect wxPrinterDC::GetPaperRect()
|
||||
{
|
||||
// Use page rect if we can't get paper rect.
|
||||
wxCoord w, h;
|
||||
GetSize(&w, &h);
|
||||
return wxRect(0, 0, w, h);
|
||||
}
|
||||
|
||||
#if 0
|
||||
// Returns default device and port names
|
||||
static bool wxGetDefaultDeviceName( wxString& rsDeviceName, wxString& rsPortName )
|
||||
|
Reference in New Issue
Block a user