Toolbar Optimisation

Robert Shearman R.J.Shearman at warwick.ac.uk
Sat Apr 17 11:38:37 CDT 2004


Hi,

This patch optimises various parts that need to get the current style of
the toolbar by storing it in the TOOLBAR_INFO structure rather than
calling GetWindowLong(GWL_STYLE). I have also made a few changes to
rename {Get,Set}WindowLong -> {Get,Set}WindowLongPtr which are necessary
for 64-bit portability since LONG is not the same size as pointers on
64-bit Windows. This should probably become a janitorial task.

Rob

Changelog:
- Optimise accessing toolbar style by storing it in the TOOLBAR_INFO
structure
- Replace {Get,Set}WindowLong by {Get,Set}WindowLongPtr where
appropriate

-------------- next part --------------
A non-text attachment was scrubbed...
Name: toolbar_style.diff
Type: text/x-patch
Size: 11572 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040417/089c7075/toolbar_style.bin


More information about the wine-patches mailing list