paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] Bug in event handling?


From: Michael Bartl
Subject: [paragui-users] Bug in event handling?
Date: Tue, 8 Apr 2003 23:36:52 +0200
User-agent: Mutt/1.5.4i

Hi!

I have a small problem with event handling in paragui!
It can be easily circumvented, but I'm not sure what's the best/right
(tm) way todo it!

Compile the attached source and see for yourself!

When clicking the button the window closes and everything is ok, but
when placing the cursor in the PG_LineEdit (doesn't matter if there is
text entered or not, just don't press enter) and the button is clicked
leads to a sefault, due to the fact that the PG_Window doesn't exists
anymore!

Shouldn't messages where the recipient is dead be silently discarded?

btw: beware, the code is not out there for review, just a quick hack to
show the problem (result can be seen in FreeLords).

Have fun,
    Michael

Attachment: event_bug.cpp
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]