diff --git a/include/wx/gtk/gnome/gprint.h b/include/wx/gtk/gnome/gprint.h index 15869d68c6..317dced92d 100644 --- a/include/wx/gtk/gnome/gprint.h +++ b/include/wx/gtk/gnome/gprint.h @@ -262,6 +262,9 @@ public: wxSize GetPPI() const; void SetAxisOrientation( bool xLeftRight, bool yBottomUp ); + void SetLogicalOrigin( wxCoord x, wxCoord y ); + void SetDeviceOrigin( wxCoord x, wxCoord y ); + virtual int GetDepth() const { return 24; } void SetBackgroundMode(int WXUNUSED(mode)) { } diff --git a/src/gtk/gnome/gprint.cpp b/src/gtk/gnome/gprint.cpp index 2b6b50d6b8..aae14b5993 100644 --- a/src/gtk/gnome/gprint.cpp +++ b/src/gtk/gnome/gprint.cpp @@ -1828,6 +1828,16 @@ void wxGnomePrintDC::SetAxisOrientation( bool xLeftRight, bool yBottomUp ) ComputeScaleAndOrigin(); } +void wxGnomePrintDC::SetLogicalOrigin( wxCoord x, wxCoord y ) +{ + wxDC::SetLogicalOrigin( x, y ); +} + +void wxGnomePrintDC::SetDeviceOrigin( wxCoord x, wxCoord y ) +{ + wxDC::SetDeviceOrigin( x, y ); +} + void wxGnomePrintDC::SetResolution(int ppi) { }