Toolbar Optimisation

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


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.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: toolbar_style.diff
Type: text/x-patch
Size: 11572 bytes
Desc: not available
Url :

More information about the wine-patches mailing list