102            *ctrl.m_dest.m_bool = ctrl.m_control.m_checkbox->GetValue();
 
  106            *ctrl.m_dest.m_bool = ctrl.m_control.m_radiobutton->GetValue();
 
  110            *ctrl.m_dest.m_str = ctrl.m_control.m_textctrl->GetValue();
 
  114            ctrl.m_control.m_textctrl->GetValue().ToLong( ctrl.m_dest.m_long );
 
  118            ctrl.m_control.m_textctrl->GetValue().ToDouble( ctrl.m_dest.m_double );
 
  122            *ctrl.m_dest.m_long = ctrl.m_control.m_unit_binder->GetValue();
 
  126            *ctrl.m_dest.m_angle = ctrl.m_control.m_unit_binder->GetAngleValue();
 
  130            *ctrl.m_dest.m_long = ctrl.m_control.m_choice->GetSelection();
 
  134            *ctrl.m_dest.m_long = ctrl.m_control.m_radiobox->GetSelection();
 
  138            *ctrl.m_dest.m_long = ctrl.m_control.m_notebook->GetSelection();
 
 
  154        switch( ctrl.m_type )
 
  157            ctrl.m_control.m_checkbox->SetValue( *ctrl.m_dest.m_bool );
 
  161            ctrl.m_control.m_radiobutton->SetValue( *ctrl.m_dest.m_bool );
 
  165            ctrl.m_control.m_textctrl->SetValue( *ctrl.m_dest.m_str );
 
  169            ctrl.m_control.m_textctrl->SetValue( wxString::Format( 
"%ld", *ctrl.m_dest.m_long ) );
 
  173            ctrl.m_control.m_textctrl->SetValue( wxString::Format( 
"%f", *ctrl.m_dest.m_double ) );
 
  177            ctrl.m_control.m_unit_binder->SetValue( *ctrl.m_dest.m_long );
 
  181            ctrl.m_control.m_unit_binder->SetAngleValue( *ctrl.m_dest.m_angle );
 
  185            ctrl.m_control.m_choice->SetSelection( *ctrl.m_dest.m_long );
 
  189            ctrl.m_control.m_radiobox->SetSelection( *ctrl.m_dest.m_long );
 
  193            ctrl.m_control.m_notebook->SetSelection( *ctrl.m_dest.m_long );