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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user