GPF in DoNotifyWindowAboutCaptureLost()
Vaclav Slavik
vslavik at fastmail.fm
Thu May 1 09:46:21 PDT 2008
On Thu, 2008-05-01 at 16:07 +0100, Neil Robinson wrote:
> At no point do we capture the mouse in any of the code that is called up
> to the point where the crash occurs.
Clearly, your app does capture the mouse somewhere, otherwise this crash
couldn't happen. It may be in some library code, but it does happen, and
it would be helpful to know _where_ is the window holding capture
destroyed.
> As I pointed out when I posted, upon reading the code it is clear that
> an invalid pointer is being used, what I don't quite follow, is how the
> assert has not already been called,
As I said: window A captures mouse, then window B captures mouse, then
window A is destroyed (without removing itself from the stack).
Another possibility is ms_winCaptureCurrent and GetCapture() getting out
of sync somehow. Either way, some capturing was involved.
Vaclav
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080501/c88233f9/attachment.pgp
More information about the wx-users
mailing list