[comctl32] Fix SEGV in file dialogs (bug 3366)
Troy Rollo
wine at troy.rollo.name
Tue Oct 11 00:56:11 CDT 2005
The following change seems to prevent the SEGV that frequently occurs when you
double-click on a folder in the file open/save dialogs. This fix uses
IsWindow() to test if the ListView still exists. I have handled all
notifications other than those where it seems entirely implausible that the
callback could destroy the window.
ChangeLog:
Detect when the notification callback has destroyed the ListView to avoid
attempts to access data that is no longer valid.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: listview.diffs
Type: text/x-diff
Size: 9379 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051011/b48caba2/listview.diff
More information about the wine-patches
mailing list