uxtheme: let OpenThemeData() always keep the window theme sane

Frank Richter frank.richter at gmail.com
Sun Jul 24 08:36:52 CDT 2005


Frank Richter <frank.richter at gmail.com>
OpenThemeData() now always sets the window theme to the handle returned
(even if that is NULL) - previously, it could happen that when no theme
was active or the theme data could not be opened that the window theme
remained became then-dangling (and hence subsequent calls to
GetWindowTheme() would return that bogus theme).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uxtheme-openthemedata.diff
Type: text/x-patch
Size: 1778 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050724/caad6d5d/uxtheme-openthemedata.bin


More information about the wine-patches mailing list