diff dwt/widgets/Widget.d @ 77:5f2f175327bc

Dialog and ColorDialog
author Frank Benoit <benoit@tionex.de>
date Tue, 15 Jan 2008 15:59:30 +0100
parents 5899e0b43e5d
children 9f6c2c92be2b
line wrap: on
line diff
--- a/dwt/widgets/Widget.d	Tue Jan 15 15:45:18 2008 +0100
+++ b/dwt/widgets/Widget.d	Tue Jan 15 15:59:30 2008 +0100
@@ -456,7 +456,7 @@
  *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
  * </ul>
  */
-protected void checkWidget () {
+public void checkWidget () {
     Display display = this.display;
     if (display is null) error (DWT.ERROR_WIDGET_DISPOSED);
     if (display.thread !is Thread.getThis ()) error (DWT.ERROR_THREAD_INVALID_ACCESS);