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