Commit f06a1f7a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix max UDP port number

parent 3bde1ed6
...@@ -720,7 +720,7 @@ wxPanel *OpenDialog::NetPanel( wxWindow* parent ) ...@@ -720,7 +720,7 @@ wxPanel *OpenDialog::NetPanel( wxWindow* parent )
wxString::Format(wxT("%d"), i_net_ports[0]), wxString::Format(wxT("%d"), i_net_ports[0]),
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS, wxSP_ARROW_KEYS,
0, 16000, i_net_ports[0] ); 0, 65535, i_net_ports[0] );
subpanel_sizer->Add( label, 0, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL ); subpanel_sizer->Add( label, 0, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL );
subpanel_sizer->Add( net_ports[0], 1, subpanel_sizer->Add( net_ports[0], 1,
...@@ -748,7 +748,7 @@ wxPanel *OpenDialog::NetPanel( wxWindow* parent ) ...@@ -748,7 +748,7 @@ wxPanel *OpenDialog::NetPanel( wxWindow* parent )
wxString::Format(wxT("%d"), i_net_ports[1]), wxString::Format(wxT("%d"), i_net_ports[1]),
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS, wxSP_ARROW_KEYS,
0, 16000, i_net_ports[1] ); 0, 65535, i_net_ports[1] );
subpanel_sizer->Add( label, 0, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL ); subpanel_sizer->Add( label, 0, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL );
subpanel_sizer->Add( net_ports[1], 1, subpanel_sizer->Add( net_ports[1], 1,
......
...@@ -495,7 +495,7 @@ wxPanel *SoutDialog::AccessPanel( wxWindow* parent ) ...@@ -495,7 +495,7 @@ wxPanel *SoutDialog::AccessPanel( wxWindow* parent )
wxString::Format(wxT("%d"), val), wxString::Format(wxT("%d"), val),
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS, wxSP_ARROW_KEYS,
0, 16000, val ); 0, 65535, val );
subpanel_sizer->Add( label, 0, subpanel_sizer->Add( label, 0,
wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL ); wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment