make GetPaperRect() and GetResolution() const functions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-11-15 11:10:34 +00:00
parent e9cc4973ff
commit 6d52ca536a
18 changed files with 48 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/dc.h
// Purpose: wxDC class
// Author: Vadim Zeitlin
// Author: Vadim Zeitlin
// Modified by:
// Created: 05/25/99
// RCS-ID: $Id$
@@ -497,10 +497,10 @@ public:
// ---------------------------------------------------------
// wxPrinterDC Impl API
virtual wxRect GetPaperRect()
virtual wxRect GetPaperRect() const
{ int w = 0; int h = 0; DoGetSize( &w, &h ); return wxRect(0,0,w,h); }
virtual int GetResolution()
virtual int GetResolution() const
{ return -1; }
private:
@@ -667,7 +667,7 @@ public:
wxSize GetPPI() const
{ return m_pimpl->GetPPI(); }
virtual int GetResolution()
virtual int GetResolution() const
{ return m_pimpl->GetResolution(); }
// Right-To-Left (RTL) modes