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

@@ -342,7 +342,7 @@ bool wxPostScriptDCImpl::IsOk() const
return m_ok;
}
wxRect wxPostScriptDCImpl::GetPaperRect()
wxRect wxPostScriptDCImpl::GetPaperRect() const
{
int w = 0;
int h = 0;
@@ -350,7 +350,7 @@ wxRect wxPostScriptDCImpl::GetPaperRect()
return wxRect(0,0,w,h);
}
int wxPostScriptDCImpl::GetResolution()
int wxPostScriptDCImpl::GetResolution() const
{
return DPI;
}