projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correction to last commit: Korean and Romanian translations will only be in 2.9.1...
[wxWidgets.git]
/
src
/
palmos
/
dcprint.cpp
diff --git
a/src/palmos/dcprint.cpp
b/src/palmos/dcprint.cpp
index fae66da4eb2ca19ff0797d8b38a36ea891c23f64..058a2d1fe32bec4b49f57a02a95887f0dda37f8f 100644
(file)
--- a/
src/palmos/dcprint.cpp
+++ b/
src/palmos/dcprint.cpp
@@
-100,6
+100,14
@@
void wxPrinterDC::EndPage()
{
}
{
}
+wxRect wxPrinterDC::GetPaperRect() const
+{
+ // 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)
{
// Returns default device and port names
static bool wxGetDefaultDeviceName(wxString& deviceName, wxString& portName)
{
@@
-135,7
+143,7
@@
bool wxPrinterDC::DoBlit(wxCoord xdest, wxCoord ydest,
wxCoord width, wxCoord height,
wxDC *source,
wxCoord WXUNUSED(xsrc), wxCoord WXUNUSED(ysrc),
wxCoord width, wxCoord height,
wxDC *source,
wxCoord WXUNUSED(xsrc), wxCoord WXUNUSED(ysrc),
-
int
WXUNUSED(rop), bool useMask,
+
wxRasterOperationMode
WXUNUSED(rop), bool useMask,
wxCoord WXUNUSED(xsrcMask), wxCoord WXUNUSED(ysrcMask))
{
return false;
wxCoord WXUNUSED(xsrcMask), wxCoord WXUNUSED(ysrcMask))
{
return false;