From: David Elliott Date: Tue, 8 May 2007 19:33:56 +0000 (+0000) Subject: Remove wxDCBase DeviceToLogical* and LogicalToDevice* methods which were basically... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/59b28f2a146191f8e1a0889078229adc0ac6b358 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 --- diff --git a/src/cocoa/dc.mm b/src/cocoa/dc.mm index 53581c4f74..375bf3a3dd 100644 --- a/src/cocoa/dc.mm +++ b/src/cocoa/dc.mm @@ -323,47 +323,6 @@ void wxDC::DoDrawText(const wxString& text, wxCoord x, wxCoord y) [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 ///////////////////////////////////////////////////////////////////////////