Hi, I think rivision 1.173 of canglob.cpp(the lastest version as of
2008/April/20) has a bug, rivision 1.172 doesn't have the problem:

line616 (a2dCanvasModule::OnInit)
a2dSmrtPtr<a2dDocumentCommandProcessor> m_prevCmdProc;

but m_prevCmdProc is supposed to be member of a2dCanvasModule. This
variable override the class member, and will be destoried when
OnInit() finished.
So the value of the class member is always NULL

But 2dCanvasModule::OnExit() reference  m_prevCmdProc, this causes a
memory fault.
I am building an application based on wxart2d. After I updated to the
lasted cvs version today, it crush. That's why I fount this problem.

Thank you the amazing wxart2d, good work!

Regards
Pan

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to