Update of /cvsroot/simspark/simspark/contrib/rsgedit
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2014
Modified Files:
property.cpp
Log Message:
- applied unicode compile fixes, thanks Joschka
Index: property.cpp
===================================================================
RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/property.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** property.cpp 22 Jan 2006 18:57:46 -0000 1.3
--- property.cpp 24 Jan 2006 18:08:46 -0000 1.4
***************
*** 100,104 ****
void Property::GenLeafEntries(shared_ptr<Leaf> leaf, TEntryList& entries) const
{
! entries.push_back(Entry(_T("GetFullPath"), leaf->GetFullPath()));
}
--- 100,104 ----
void Property::GenLeafEntries(shared_ptr<Leaf> leaf, TEntryList& entries) const
{
! entries.push_back(Entry(_T("GetFullPath"), wxString(leaf->GetFullPath().c_str(), wxConvUTF8)));
}
***************
*** 118,122 ****
Entry(
_T("GetBundle"),
! (bundle.get() != 0) ? bundle->GetName() : _T("<None>")
)
);
--- 118,122 ----
Entry(
_T("GetBundle"),
! (bundle.get() != 0) ? wxString(bundle->GetName().c_str(), wxConvUTF8) : _T("<None>")
)
);
***************
*** 131,135 ****
)
{
! entries.push_back(Entry(_T("GetBaseClasses"), _T((*iter).c_str())));
}
--- 131,135 ----
)
{
! entries.push_back(Entry(_T("GetBaseClasses"), wxString((*iter).c_str(), wxConvUTF8)));
}
***************
*** 143,147 ****
)
{
! entries.push_back(Entry(_T("GetCommandMap"), _T((*iter).first.c_str())));
}
}
--- 143,147 ----
)
{
! entries.push_back(Entry(_T("GetCommandMap"), wxString((*iter).first.c_str(), wxConvUTF8)));
}
}
***************
*** 221,225 ****
}
! TClassMap::const_iterator iter = mClassMap.find(cl->GetFullPath());
if (iter != mClassMap.end())
{
--- 221,225 ----
}
! TClassMap::const_iterator iter = mClassMap.find(wxString(cl->GetFullPath().c_str(), wxConvUTF8));
if (iter != mClassMap.end())
{
|