summaryrefslogtreecommitdiff
path: root/library/CustomGrid.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:15 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:15 +0200
commit8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395 (patch)
tree975c6e590c31e56007006a23e7b15d0245d75b08 /library/CustomGrid.h
parent3.6 (diff)
downloadFreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.gz
FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.bz2
FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.zip
3.7
Diffstat (limited to 'library/CustomGrid.h')
-rw-r--r--library/CustomGrid.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/CustomGrid.h b/library/CustomGrid.h
index 35915811..5f1823c0 100644
--- a/library/CustomGrid.h
+++ b/library/CustomGrid.h
@@ -153,7 +153,7 @@ public:
xmlAccess::ColumnAttributes getColumnAttributes();
void setColumnAttributes(const xmlAccess::ColumnAttributes& attr);
- xmlAccess::ColumnTypes getTypeAtPos(unsigned pos) const;
+ xmlAccess::ColumnTypes getTypeAtPos(size_t pos) const;
static wxString getTypeName(xmlAccess::ColumnTypes colType);
void autoSizeColumns(); //performance optimized column resizer
@@ -171,14 +171,14 @@ private:
//asynchronous icon loading
void getIconsToBeLoaded(std::vector<Zstring>& newLoad); //loads all (not yet) drawn icons
- typedef unsigned int FromRow;
- typedef unsigned int ToRow;
+ typedef size_t FromRow;
+ typedef size_t ToRow;
typedef std::pair<FromRow, ToRow> VisibleRowRange;
VisibleRowRange getVisibleRows();
- typedef unsigned int RowNumber;
- typedef bool IconLoaded;
+ typedef size_t RowNumber;
+ typedef bool IconLoaded;
typedef std::map<RowNumber, IconLoaded> LoadSuccess;
LoadSuccess loadIconSuccess; //save status of last icon load when drawing on GUI
bgstack15