Mercurial > projects > dwt-mac
diff dwt/widgets/Display.d @ 36:db5a898b2119
Fixed a lot of compile errors
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Tue, 07 Oct 2008 12:56:18 +0200 |
parents | fba856099f87 |
children | 642f460a0908 |
line wrap: on
line diff
--- a/dwt/widgets/Display.d Sun Sep 14 23:32:29 2008 +0200 +++ b/dwt/widgets/Display.d Tue Oct 07 12:56:18 2008 +0200 @@ -165,7 +165,7 @@ /* Sync/Async Widget Communication */ Synchronizer synchronizer; Thread thread; - bool allowTimers, runAsyncMessages; + bool allowTimers, runAsyncMessages_; int lastModifiers; @@ -1598,8 +1598,8 @@ * * @see #create */ -protected void init () { - super.init (); +protected void init_ () { + super.init_ (); initClasses (); initApplicationDelegate(); application.finishLaunching(); @@ -2876,9 +2876,9 @@ if (getMessageCount () !is 0) return true; NSAutoreleasePool pool = cast(NSAutoreleasePool)(new NSAutoreleasePool()).alloc().init(); try { - allowTimers = runAsyncMessages = false; + allowTimers = runAsyncMessages_ = false; NSRunLoop.currentRunLoop().runMode(OS.NSDefaultRunLoopMode, NSDate.distantFuture()); - allowTimers = runAsyncMessages = true; + allowTimers = runAsyncMessages_ = true; return true; } finally { pool.release();