Oh, it is because i didn't add dynamic class.......but I don't really
understand why I have to add it. It is really tricky because I had been
trying to find why my Load function didn't work for several hours.
Based on wxWidgets Doc, it said that RTTI functions
"Used in a C++ implementation file to complete the declaration of a class
that has run-time type information, and whose instances can be created
dynamically"
Do you know why, Klaas?
Thanks Klaas.
Regards,
Budi Irawan
On Tue, Mar 18, 2008 at 6:32 AM, klaas.holwerda <[EMAIL PROTECTED]>
wrote:
> Budi Irawan wrote:
> > I success Klaas to save custom value by using DoSave but when I try to
> > load it again, it seems that DoLoad event is not called in my class.
> > For checking if DoLoad is called or not, I change my DoLoad and DoSave
> > method that are shown below.
> So i assume you derive from a2dImage, is its Doload called?
> Did you add dynamic class info to your class, the class is recreated
> based on that see a2dObject::Load?
>
> Klaas
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Wxart2d-users_dev mailing list
> Wxart2d-users_dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev