mshtml #3: Use HTMLWindow::alert in nsPromptService::Alert.

Alexandre Julliard julliard at winehq.org
Thu Dec 7 04:35:03 CST 2006


Jacek Caban <jacek at codeweavers.com> writes:

> @@ -39,6 +39,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
>  
>  #define HTMLWINDOW2_THIS(iface) DEFINE_THIS(HTMLWindow, HTMLWindow2, iface)
>  
> +typedef struct {
> +    struct list entry;
> +    HTMLWindow *window;
> +} window_list_t;
> +
> +static struct list window_list = LIST_INIT(window_list);
> +

The right way to build a list of windows is to put the list entry
directly in the HTMLWindow structure, there's no need for a separate
structure.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list