-void wxObject::StoreObject( wxObjectOutputStream& stream )
-{
- wxString obj_name = wxString(GetClassInfo()->GetClassName()) + "_Serialize";
- wxLibrary *lib = wxTheLibraries.LoadLibrary("wxserial");
- WXSERIAL(wxObject) *serial =
- (WXSERIAL(wxObject) *)lib->CreateObject( obj_name );
-
- if (!serial) {
- wxString message;
-
- message.Printf("Can't find the serialization object (%s) for the object %s",
- WXSTRINGCAST obj_name, WXSTRINGCAST GetClassInfo()->GetClassName());
- wxMessageBox(message, "Alert !");
- return;
- }
-
- serial->SetObject(this);
- serial->StoreObject(stream);
+ for(info = sm_first; info; info = info->m_next)
+ {
+ info->m_baseInfo1 = GetBaseByName(info->GetBaseClassName1());
+ info->m_baseInfo2 = GetBaseByName(info->GetBaseClassName2());
+ }