- long MostFreqCol = 0 ; long nMost = 0;
- long NextFreqCol = 0 ; long nNext = 0;
- long value ;
- hTable.BeginFind();
- wxNode *node = NULL;
- while ((node = hTable.Next()) != NULL)
+ long MostFreqCol = 0;
+ unsigned long nMost = 0;
+ long NextFreqCol = 0;
+ unsigned long nNext = 0;
+ wxImageHistogram::iterator entry = histogram.begin();
+
+ while ( entry != histogram.end() )