Fix for non-CG mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2139,48 +2139,4 @@ void wxDC::MacInstallBrush() const
|
||||
m_macFontInstalled = false ;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// coordinates transformations
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
wxCoord wxDC::DeviceToLogicalX(wxCoord x) const
|
||||
{
|
||||
return XDEV2LOG(x);
|
||||
}
|
||||
|
||||
wxCoord wxDC::DeviceToLogicalY(wxCoord y) const
|
||||
{
|
||||
return YDEV2LOG(y);
|
||||
}
|
||||
|
||||
wxCoord wxDC::DeviceToLogicalXRel(wxCoord x) const
|
||||
{
|
||||
return XDEV2LOGREL(x);
|
||||
}
|
||||
|
||||
wxCoord wxDC::DeviceToLogicalYRel(wxCoord y) const
|
||||
{
|
||||
return YDEV2LOGREL(y);
|
||||
}
|
||||
|
||||
wxCoord wxDC::LogicalToDeviceX(wxCoord x) const
|
||||
{
|
||||
return XLOG2DEV(x);
|
||||
}
|
||||
|
||||
wxCoord wxDC::LogicalToDeviceY(wxCoord y) const
|
||||
{
|
||||
return YLOG2DEV(y);
|
||||
}
|
||||
|
||||
wxCoord wxDC::LogicalToDeviceXRel(wxCoord x) const
|
||||
{
|
||||
return XLOG2DEVREL(x);
|
||||
}
|
||||
|
||||
wxCoord wxDC::LogicalToDeviceYRel(wxCoord y) const
|
||||
{
|
||||
return YLOG2DEVREL(y);
|
||||
}
|
||||
|
||||
#endif // !wxMAC_USE_CORE_GRAPHICS
|
||||
|
Reference in New Issue
Block a user