DIALOG_COPPER_ZONE_BASE: fix incorrect max value of zone priority.

This commit is contained in:
jean-pierre charras 2021-11-03 11:43:57 +01:00
parent c2371f3943
commit 6b432e895a
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ DIALOG_COPPER_ZONE_BASE::DIALOG_COPPER_ZONE_BASE( wxWindow* parent, wxWindowID i
fgSizer1->Add( m_staticTextPriorityLevel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
m_PriorityLevelCtrl = new wxSpinCtrl( sbGeneral->GetStaticBox(), ID_M_PRIORITYLEVELCTRL, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 100, 0 );
m_PriorityLevelCtrl = new wxSpinCtrl( sbGeneral->GetStaticBox(), ID_M_PRIORITYLEVELCTRL, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 2147483647, 0 );
fgSizer1->Add( m_PriorityLevelCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );

View File

@ -757,7 +757,7 @@
<property name="hidden">0</property>
<property name="id">ID_M_PRIORITYLEVELCTRL</property>
<property name="initial">0</property>
<property name="max">100</property>
<property name="max">2147483647</property>
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>