diff dwt/widgets/Widget.d @ 40:3052439af4b5

Shell
author Frank Benoit <benoit@tionex.de>
date Fri, 01 Feb 2008 20:19:46 +0100
parents 99d8b02576c3
children 0f25be5cbe6f
line wrap: on
line diff
--- a/dwt/widgets/Widget.d	Fri Feb 01 17:45:36 2008 +0100
+++ b/dwt/widgets/Widget.d	Fri Feb 01 20:19:46 2008 +0100
@@ -10,22 +10,6 @@
  *******************************************************************************/
 module dwt.widgets.Widget;
 
-/++
-class Widget {
-    Display display;
-    void checkWidget();
-    void releaseWidget();
-    void releaseChildren(bool);
-    void release(bool);
-    void releaseParent();
-    bool isDisposed();
-    void dispose();
-    void error(int);
-    this () ;
-    this (Widget parent, int style) ;
-}
-++/
-
 import dwt.DWT;
 import dwt.DWTException;
 import dwt.events.DisposeListener;
@@ -356,7 +340,7 @@
  *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
  * </ul>
  */
-protected void checkWidget () {
+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);