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 9e22e1456c
commit d7d07dc797
1 changed files with 1 additions and 1 deletions

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));