fixed compilation problems under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -125,7 +125,7 @@ protected:
|
|||||||
*/
|
*/
|
||||||
int Index(long lItem, bool bFromEnd = FALSE) const;
|
int Index(long lItem, bool bFromEnd = FALSE) const;
|
||||||
/// search for an item using binary search in a sorted array
|
/// search for an item using binary search in a sorted array
|
||||||
int Index(long lItem, CMPFUNC fnCompare);
|
int Index(long lItem, CMPFUNC fnCompare) const;
|
||||||
/// add new element at the end
|
/// add new element at the end
|
||||||
void Add(long lItem);
|
void Add(long lItem);
|
||||||
/// add item assuming the array is sorted with fnCompare function
|
/// add item assuming the array is sorted with fnCompare function
|
||||||
|
@@ -231,7 +231,6 @@ public:
|
|||||||
void SetLine(LineList *pLine);
|
void SetLine(LineList *pLine);
|
||||||
};
|
};
|
||||||
|
|
||||||
protected:
|
|
||||||
class ConfigGroup
|
class ConfigGroup
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
@@ -169,7 +169,7 @@ int wxBaseArray::Index(long lItem, bool bFromEnd) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
// search for an item in a sorted array (binary search)
|
// search for an item in a sorted array (binary search)
|
||||||
int wxBaseArray::Index(long lItem, CMPFUNC fnCompare)
|
int wxBaseArray::Index(long lItem, CMPFUNC fnCompare) const
|
||||||
{
|
{
|
||||||
uint i,
|
uint i,
|
||||||
lo = 0,
|
lo = 0,
|
||||||
|
Reference in New Issue
Block a user