Commit 71bca20e authored by Christophe Mutricy's avatar Christophe Mutricy

Fix the integer widget

parent bcf036f9
......@@ -766,12 +766,11 @@ int IntegerConfigControl::GetIntValue()
{
/* We avoid using GetValue because of a recursion bug with wxSpinCtrl with
* wxGTK. */
return i_value; //spin->GetValue();
return spin->GetValue();
}
void IntegerConfigControl::OnUpdate( wxCommandEvent &event )
{
i_value = event.GetInt();
ConfigControl::OnUpdate( event );
}
void IntegerConfigControl::OnUpdateScroll( wxScrollEvent &event )
......
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