[ros-diffs] [gedmurphy] 20154: It's a modal dialog not a window.
Close it correctly.
gedmurphy at svn.reactos.com
gedmurphy at svn.reactos.com
Tue Dec 13 23:23:22 CET 2005
It's a modal dialog not a window. Close it correctly.
Modified: trunk/reactos/apps/utils/getfirefox/getfirefox.c
_____
Modified: trunk/reactos/apps/utils/getfirefox/getfirefox.c
--- trunk/reactos/apps/utils/getfirefox/getfirefox.c 2005-12-13
22:12:01 UTC (rev 20153)
+++ trunk/reactos/apps/utils/getfirefox/getfirefox.c 2005-12-13
22:23:08 UTC (rev 20154)
@@ -359,14 +359,10 @@
return FALSE;
case WM_CLOSE:
- DestroyWindow(Dlg);
+ EndDialog(Dlg, 0);
return TRUE;
- case WM_DESTROY:
- PostQuitMessage(0);
- return TRUE;
-
- default:
+ default:
return FALSE;
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051213/c4f665b9/attachment.html
More information about the Ros-diffs
mailing list