Some more statistics tweaks;

Another minor fix for alignment of sorted columns

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@367 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-05-14 01:55:27 +00:00
parent f30b14b0f7
commit a26bdc547f
4 changed files with 66 additions and 26 deletions
+1 -4
View File
@@ -209,10 +209,7 @@ void CardListBase::rebuild() {
// we are sorting by this column
sort_by_column = i;
// and display an arrow in the header
wxListItem li;
li.m_mask = wxLIST_MASK_IMAGE;
li.m_image = sort_ascending ? 0 : 1; // arrow up/down
SetColumn(i, li);
SetColumnImage(i, sort_ascending ? 0 : 1);
}
++i;
}