Update of /cvsroot/audacity/audacity-src/src/widgets
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv3986
Modified Files:
TimeTextCtrl.cpp
Log Message:
Ensure time value is refreshed after changing and when providing to screen
reader.
Index: TimeTextCtrl.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/widgets/TimeTextCtrl.cpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- TimeTextCtrl.cpp 7 Jun 2009 08:24:14 -0000 1.60
+++ TimeTextCtrl.cpp 10 Jun 2009 05:03:11 -0000 1.61
@@ -1212,6 +1212,8 @@
}
steps--;
}
+
+ ControlsToValue();
}
void TimeTextCtrl::Decrease(int steps)
@@ -1489,12 +1491,7 @@
*name = mCtrl->GetLabel();
}
- for (size_t i = 0; i < mCtrl->mFields.GetCount(); i++) {
- *name += wxT(" ") +
- mCtrl->mFields[i].str +
- wxT(" ") +
- mCtrl->mFields[i].label;
- }
+ *name += wxT(" ") + mCtrl->GetTimeString();
}
else {
*name = mCtrl->mFields[mCtrl->GetFocusedField() - 1].str +
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs