Remove wxDCBase DeviceToLogical* and LogicalToDevice* methods which were basically stubs anyway. Fixes link error. Assume that the new common implementations in src/common/dcbase.cpp do the right thing. Not tested.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -323,47 +323,6 @@ void wxDC::DoDrawText(const wxString& text, wxCoord x, wxCoord y)
|
|||||||
[context restoreGraphicsState];
|
[context restoreGraphicsState];
|
||||||
}
|
}
|
||||||
|
|
||||||
// wxDCBase functions
|
|
||||||
int wxDCBase::DeviceToLogicalX(int x) const
|
|
||||||
{
|
|
||||||
return x;
|
|
||||||
}
|
|
||||||
|
|
||||||
int wxDCBase::DeviceToLogicalY(int y) const
|
|
||||||
{
|
|
||||||
return y;
|
|
||||||
}
|
|
||||||
|
|
||||||
int wxDCBase::DeviceToLogicalXRel(int x) const
|
|
||||||
{
|
|
||||||
return x;
|
|
||||||
}
|
|
||||||
|
|
||||||
int wxDCBase::DeviceToLogicalYRel(int y) const
|
|
||||||
{
|
|
||||||
return y;
|
|
||||||
}
|
|
||||||
|
|
||||||
int wxDCBase::LogicalToDeviceX(int x) const
|
|
||||||
{
|
|
||||||
return x;
|
|
||||||
}
|
|
||||||
|
|
||||||
int wxDCBase::LogicalToDeviceY(int y) const
|
|
||||||
{
|
|
||||||
return y;
|
|
||||||
}
|
|
||||||
|
|
||||||
int wxDCBase::LogicalToDeviceXRel(int x) const
|
|
||||||
{
|
|
||||||
return x;
|
|
||||||
}
|
|
||||||
|
|
||||||
int wxDCBase::LogicalToDeviceYRel(int y) const
|
|
||||||
{
|
|
||||||
return y;
|
|
||||||
}
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// cut here, the rest is stubs
|
// cut here, the rest is stubs
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
Reference in New Issue
Block a user