X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d6196a91e09c876b614da3deec617b9a67322dd..96dc06fdcece9307ffb0c23bb6944ff03c526808:/interface/wx/hashset.h diff --git a/interface/wx/hashset.h b/interface/wx/hashset.h index 36469e47e5..a3406431c7 100644 --- a/interface/wx/hashset.h +++ b/interface/wx/hashset.h @@ -20,11 +20,11 @@ class MyClass { ... }; // same, with MyClass* keys (only uses pointer equality!) - WX_DECLARE_HASH_SET( MyClass*, wxPointerHash, wxPointerEqual, MySet1 ); + WX_DECLARE_HASH_SET( MyClass*, ::wxPointerHash, ::wxPointerEqual, MySet1 ); // same, with int keys - WX_DECLARE_HASH_SET( int, wxIntegerHash, wxIntegerEqual, MySet2 ); + WX_DECLARE_HASH_SET( int, ::wxIntegerHash, ::wxIntegerEqual, MySet2 ); // declare a hash set with string keys - WX_DECLARE_HASH_SET( wxString, wxStringHash, wxStringEqual, MySet3 ); + WX_DECLARE_HASH_SET( wxString, ::wxStringHash, ::wxStringEqual, MySet3 ); MySet1 h1; MySet2 h1; @@ -70,8 +70,8 @@ @code WX_DECLARE_HASH_SET( int, - wxIntegerHash, - wxIntegerEqual, + ::wxIntegerHash, + ::wxIntegerEqual, MySet ); // using an user-defined class for keys @@ -105,8 +105,8 @@ }; WX_DECLARE_HASH_SET( MyKey, // type of the keys - MyKeyHash, // hasher - MyKeyEqual, // key equality predicate + ::MyKeyHash, // hasher + ::MyKeyEqual, // key equality predicate CLASSNAME); // name of the class @endcode