Commit 46fe3978 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/preferences_widgets.cpp: increased max int in IntegerConfigControl.

parent 4b023b87
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
/***************************************************************************** /*****************************************************************************
* GetCapabilityHelp: Display the help for one capability. * GetCapabilityHelp: Display the help for one capability.
*****************************************************************************/ *****************************************************************************/
static char * GetCapabilityHelp( char *psz_capability, int i_type) static inline char * GetCapabilityHelp( char *psz_capability, int i_type)
{ {
if( psz_capability == NULL) return ""; if( psz_capability == NULL) return "";
......
...@@ -527,7 +527,7 @@ IntegerConfigControl::IntegerConfigControl( vlc_object_t *p_this, ...@@ -527,7 +527,7 @@ IntegerConfigControl::IntegerConfigControl( vlc_object_t *p_this,
p_item->i_value), p_item->i_value),
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS, wxSP_ARROW_KEYS,
-10000000, 10000000, p_item->i_value); -100000000, 100000000, p_item->i_value);
spin->SetToolTip( wxU(p_item->psz_longtext) ); spin->SetToolTip( wxU(p_item->psz_longtext) );
sizer->Add( label, 1, wxALIGN_CENTER_VERTICAL | wxALL, 5 ); sizer->Add( label, 1, wxALIGN_CENTER_VERTICAL | wxALL, 5 );
sizer->Add( spin, 0, wxALIGN_CENTER_VERTICAL | wxALL, 5 ); sizer->Add( spin, 0, wxALIGN_CENTER_VERTICAL | wxALL, 5 );
......
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