Browse Source

DateTimeUpDown: fixed bug introduced a couple of changesets ago, where the selection gets all screwed up.

pull/1645/head
brianlagunas_cp 16 years ago
parent
commit
0808c7e7b0
  1. 2
      ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/DateTimeUpDown/DateTimeUpDown.cs

2
ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/DateTimeUpDown/DateTimeUpDown.cs

@ -134,6 +134,8 @@ namespace Microsoft.Windows.Controls
private void InitializeDateTimeInfoList() private void InitializeDateTimeInfoList()
{ {
_dateTimeInfoList.Clear();
string format = GetFormatString(Format); string format = GetFormatString(Format);
while (format.Length > 0) while (format.Length > 0)
{ {

Loading…
Cancel
Save