comparison dwt/widgets/Shell.d @ 40:7fb1ab011933

made macro implementations active, one compile problem in OS.d:2554
author Frank Benoit <benoit@tionex.de>
date Thu, 10 Jan 2008 08:18:45 +0100
parents 6e625fa1612d
children 787b5413b0ce
comparison
equal deleted inserted replaced
39:8e76ddc90b31 40:7fb1ab011933
1501 * from the desktop, this should not be done since 1501 * from the desktop, this should not be done since
1502 * the shell not will be mapped until the parent is 1502 * the shell not will be mapped until the parent is
1503 * unminimized or shown on the desktop. 1503 * unminimized or shown on the desktop.
1504 */ 1504 */
1505 OS.gtk_widget_show (shellHandle); 1505 OS.gtk_widget_show (shellHandle);
1506 if (!OS.GTK_IS_PLUG (shellHandle)) { 1506 if (!OS.GTK_IS_PLUG (cast(GTypeInstance*)shellHandle)) {
1507 mapped = false; 1507 mapped = false;
1508 if (isDisposed ()) return; 1508 if (isDisposed ()) return;
1509 display.dispatchEvents = [ 1509 display.dispatchEvents = [
1510 OS.GDK_EXPOSE, 1510 OS.GDK_EXPOSE,
1511 OS.GDK_FOCUS_CHANGE, 1511 OS.GDK_FOCUS_CHANGE,