]> git.saurik.com Git - wxWidgets.git/commitdiff
Relocate DeviceToLogical[XY], add stub for LogicalToDevice[XY]
authorDavid Elliott <dfe@tgwbd.org>
Mon, 7 Apr 2003 03:31:38 +0000 (03:31 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 7 Apr 2003 03:31:38 +0000 (03:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/dc.mm

index 79c10e055550ebe406b193e4d0628992952ea223..b6c71aaca8cece9464c0fe1062e48d059658208f 100644 (file)
@@ -145,6 +145,27 @@ 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::LogicalToDeviceX(int x) const
+{
+    return x;
+}
+
+int wxDCBase::LogicalToDeviceY(int y) const
+{
+    return y;
+}
+
 ///////////////////////////////////////////////////////////////////////////
 // cut here, the rest is stubs
 ///////////////////////////////////////////////////////////////////////////
@@ -394,13 +415,3 @@ void wxDC::ComputeScaleAndOrigin(void)
   }
 };
 
-int wxDCBase::DeviceToLogicalX(int x) const
-{
-    return x;
-}
-
-int wxDCBase::DeviceToLogicalY(int y) const
-{
-    return y;
-}
-