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:
Vadim Zeitlin
1998-07-17 08:18:57 +00:00
parent 3848ffef9f
commit e99c304810
3 changed files with 2 additions and 3 deletions

View File

@@ -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

View File

@@ -231,7 +231,6 @@ public:
void SetLine(LineList *pLine); void SetLine(LineList *pLine);
}; };
protected:
class ConfigGroup class ConfigGroup
{ {
private: private:

View File

@@ -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,