Fix #599, the wrong overload for wxSpinCtrl::SetValue was used causing only the edit control part to be updated.

Originally committed to SVN as r2996.
This commit is contained in:
Niels Martin Hansen 2009-06-01 13:57:34 +00:00
parent fa73db1bf1
commit db27d770f6

View file

@ -283,7 +283,7 @@ void SubsEditBox::Update (bool timeOnly,bool weak) {
Duration->Update();
if (!timeOnly) {
TextEdit->SetTextTo(curdiag->Text);
Layer->SetValue(wxString::Format(_T("%i"),curdiag->Layer));
Layer->SetValue(curdiag->Layer);
MarginL->SetValue(curdiag->GetMarginString(0,false));
MarginR->SetValue(curdiag->GetMarginString(1,false));
MarginV->SetValue(curdiag->GetMarginString(2,false));