Make persistence store keys shorter and without spaces

This commit is contained in:
iwbnwif
2017-08-22 13:50:08 +01:00
parent 384d9f9043
commit 9cad6d1918

View File

@@ -21,7 +21,7 @@
#define wxPERSIST_DVLC_COL_PREFIX "Column"
#define wxPERSIST_DVLC_WIDTH "ColWidth"
#define wxPERSIST_DVLC_WIDTH "Width"
#define wxPERSIST_DVLC_SORT_KEY "SortKey"
#define wxPERSIST_DVLC_SORT_ASC "SortAsc"
@@ -106,6 +106,7 @@ public:
RestoreValue(wxPERSIST_DVLC_SORT_ASC, &sortAsc);
control->GetColumn(sortColumn)->SetSortOrder(sortAsc);
control->GetModel()->Resort();
}
return true;
}