X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d50343d87bec1ad537a74c43e2ed2a114574a5a..c17b2e31516424a77fd54b8fc192eac133269ce4:/src/palmos/dcprint.cpp?ds=inline diff --git a/src/palmos/dcprint.cpp b/src/palmos/dcprint.cpp index fae66da4eb..dc154f7b2f 100644 --- a/src/palmos/dcprint.cpp +++ b/src/palmos/dcprint.cpp @@ -100,6 +100,14 @@ void 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); +} + // Returns default device and port names static bool wxGetDefaultDeviceName(wxString& deviceName, wxString& portName) {