From: Gregory S. <wo...@tr...> - 2007-11-17 18:42:14
|
On 11/17/07, Tito Dal Canton <ti...@da...> wrote: > Could you try the latest CVS? I put things back and added a missing > check for NULL stuff in FrameView. If this works, it's more correct than > before. No good. (One of) the crash(es) happens at ShapesView.cpp:1545, where f_view is random uninitialized garbage, so dereferencing it crashes. Fixes to FrameView aren't going to help since it doesn't exist yet. You could initialize f_view in the ShapesView constructor, and check each time you use the f_view->GetFrame() construct to make sure f_view has been created, if you don't like my hack of just setting up f_view before the widgets that need it to process their events. Gregory |