Make orientation popups match combobox values.

This commit is contained in:
Jeff Young 2018-08-16 18:53:48 +01:00
parent c5781105ee
commit 672d5ec1aa
4 changed files with 10 additions and 10 deletions

View File

@ -146,10 +146,10 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
fgSizerShapeType->Add( m_PadOrientText, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT, 3 );
m_orientation = new wxComboBox( m_panelGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
m_orientation->Append( _("0") );
m_orientation->Append( _("90") );
m_orientation->Append( _("-90") );
m_orientation->Append( _("180") );
m_orientation->Append( _("0.0") );
m_orientation->Append( _("90.0") );
m_orientation->Append( _("-90.0") );
m_orientation->Append( _("180.0") );
fgSizerShapeType->Add( m_orientation, 0, wxALL|wxEXPAND, 5 );
m_staticText491 = new wxStaticText( m_panelGeneral, wxID_ANY, _("deg"), wxDefaultPosition, wxDefaultSize, 0 );

View File

@ -2167,7 +2167,7 @@
<property name="caption"></property>
<property name="caption_visible">1</property>
<property name="center_pane">0</property>
<property name="choices">&quot;0&quot; &quot;90&quot; &quot;-90&quot; &quot;180&quot;</property>
<property name="choices">&quot;0.0&quot; &quot;90.0&quot; &quot;-90.0&quot; &quot;180.0&quot;</property>
<property name="close_button">1</property>
<property name="context_help"></property>
<property name="context_menu">1</property>

View File

@ -148,10 +148,10 @@ DIALOG_TEXT_PROPERTIES_BASE::DIALOG_TEXT_PROPERTIES_BASE( wxWindow* parent, wxWi
fgSizerSetup->Add( m_OrientLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
m_OrientCtrl = new wxComboBox( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
m_OrientCtrl->Append( _("0") );
m_OrientCtrl->Append( _("90") );
m_OrientCtrl->Append( _("-90") );
m_OrientCtrl->Append( _("180") );
m_OrientCtrl->Append( _("0.0") );
m_OrientCtrl->Append( _("90.0") );
m_OrientCtrl->Append( _("-90.0") );
m_OrientCtrl->Append( _("180.0") );
fgSizerSetup->Add( m_OrientCtrl, 0, wxEXPAND, 5 );
m_PositionXLabel = new wxStaticText( this, wxID_ANY, _("Position X:"), wxDefaultPosition, wxDefaultSize, 0 );

View File

@ -2265,7 +2265,7 @@
<property name="caption"></property>
<property name="caption_visible">1</property>
<property name="center_pane">0</property>
<property name="choices">&quot;0&quot; &quot;90&quot; &quot;-90&quot; &quot;180&quot;</property>
<property name="choices">&quot;0.0&quot; &quot;90.0&quot; &quot;-90.0&quot; &quot;180.0&quot;</property>
<property name="close_button">1</property>
<property name="context_help"></property>
<property name="context_menu">1</property>