Fixed input.

Update configure script to wxWidgets 2.8
Added required 2.8 includes.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@382 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2007-05-15 16:41:08 +00:00
parent 99bd13ee0b
commit 82a7690909
13 changed files with 59 additions and 28 deletions
+9 -8
View File
@@ -8,6 +8,7 @@
#include <gui/control/item_list.hpp>
#include <gui/util.hpp>
#include <wx/imaglist.h>
// ----------------------------------------------------------------------------- : ItemList
@@ -141,14 +142,14 @@ void ItemList::sortBy(long column, bool ascending) {
refreshList();
}
void ItemList::SetColumnImage(int col, int image) {
// The wx version of this function is broken,
// setting the wxLIST_MASK_IMAGE also sets the FORMAT flag, so we lose alignment info
wxListItem item;
item.SetMask(wxLIST_MASK_IMAGE | wxLIST_MASK_FORMAT);
GetColumn(col, item);
item.SetImage(image);
SetColumn(col, item);
void ItemList::SetColumnImage(int col, int image) {
// The wx version of this function is broken,
// setting the wxLIST_MASK_IMAGE also sets the FORMAT flag, so we lose alignment info
wxListItem item;
item.SetMask(wxLIST_MASK_IMAGE | wxLIST_MASK_FORMAT);
GetColumn(col, item);
item.SetImage(image);
SetColumn(col, item);
}
// ----------------------------------------------------------------------------- : ItemList : Window events