wxWindows destruction and ReleaseMouse(); on wxMSW

Vadim Zeitlin vadim at wxwindows.org
Fri Feb 2 15:19:42 PST 2007


On 2 Feb 2007 01:02:39 -0800 olivier.corrio at gmail.com wrote:

> i did a application on wxGTK (on linux) and i m not testing it on
> wxMSW. I have a frame and i move that frame. When the frame it at good
> place i close it (the panel is reparent to another frame). But the
> frame close but i didn't release the left button on mouse.
> If i then move the mouse the application crashes. To avoid that i put
> a   ReleaseMouse(); in the close event handler.
> I think that it should be done automaticaly. On wxGTK it works fine.

 Do you really just Close() the frame or do you delete it?
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list