#include "stdafx.h" #include "vectorproperty.h" wxString wxToString(const EtVector3 &v) { wxString s; s<DoSetValue( m_value.x ); Item(1)->DoSetValue( m_value.y ); Item(2)->DoSetValue( m_value.z ); } void VectorPropertyClass::ChildChanged( wxPGProperty* p ) { switch( p->GetIndexInParent() ) { case 0: m_value.x = p->DoGetValue().GetDouble(); break; case 1: m_value.y = p->DoGetValue().GetDouble(); break; case 2: m_value.z = p->DoGetValue().GetDouble(); break; } }