WRAPPER_API bool RemoveObject(const DisplayObject& child);
Remove the object from the view.
void DataView_RemoveFolder(GEOCALCPBW_NAMESPACE::DataView & dataView)
{
DisplayObject thisObject(L"DEGREES", GEOCALCPBW_NAMESPACE::GeoBase::AngularUnitType, 100, false);
if (!m_DataView->RemoveObject(thisObject))
{
AfxMessageBox("RemoveObject failed");
}
}