diff doodle/dia/icanvas.d @ 101:523269b36711

Update to dmd 2.050
author David Bryant <bagnose@gmail.com>
date Thu, 28 Oct 2010 16:35:11 +1030
parents a98116479793
children 7abaf5c3959f
line wrap: on
line diff
--- a/doodle/dia/icanvas.d	Mon Oct 18 18:10:02 2010 +1030
+++ b/doodle/dia/icanvas.d	Thu Oct 28 16:35:11 2010 +1030
@@ -7,12 +7,7 @@
     import doodle.tk.screen_model;
 }
 
-private {
-    import std.typecons;
-}
-
-mixin(defineEnum!("Cursor",
-                  "DEFAULT", "HAND", "CROSSHAIR", "PENCIL"));
+enum Cursor { DEFAULT, HAND, CROSSHAIR, PENCIL }
 
 interface IViewport2 {
     void damageModel(in Rectangle area);