Toolbar : fix customize listbox sizes

Maxime Bellengé maxime.bellenge at laposte.net
Sat May 1 14:38:16 CDT 2004


This patch fixes the customize dialog box for toolbars.
The code was not correct because it was setting the size of the items of
the listboxes during the WM_MEASUREITEM message but was initializing the
listboxes and context in WM_INITDIALOG.

As WM_MEASUREITEM is sent before WM_INITDIALOG, the sizes were never
correct.

Changelog:
     * Fix the size of the listview items in the customize dialog from
toolbars.

-- 
Maxime Bellengé <maxime.bellenge at laposte.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toolbarcustomize.patch
Type: text/x-patch
Size: 1325 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040501/84aa1310/toolbarcustomize.bin


More information about the wine-patches mailing list