]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/hashmap.h
Implement hatched/stippled pens/brushes in wxGraphicsContext for Cairo.
[wxWidgets.git] / interface / wx / hashmap.h
index c103e44afa4688b620b62bbfa8a1399f394824dd..b7554e815b87e7f3b805cbbe0658c2c97783b17b 100644 (file)
@@ -11,7 +11,7 @@
 
     This is a simple, type-safe, and reasonably efficient hash map class,
     whose interface is a subset of the interface of STL containers.
-    In particular, the interface is modeled after std::map, and the various,
+    In particular, the interface is modelled after std::map, and the various,
     non-standard, std::hash_map (http://www.cppreference.com/wiki/stl/map/start).
 
     Example:
@@ -83,8 +83,8 @@
     @code
     WX_DECLARE_HASH_MAP( int,
                          wxString,
-                         wxIntegerHash,
-                         wxIntegerEqual,
+                         ::wxIntegerHash,
+                         ::wxIntegerEqual,
                          MyHash );
 
     // using an user-defined class for keys
 
     WX_DECLARE_HASH_MAP( MyKey,      // type of the keys
                          SOME_TYPE,  // any type you like
-                         MyKeyHash,  // hasher
-                         MyKeyEqual, // key equality predicate
+                         ::MyKeyHash,  // hasher
+                         ::MyKeyEqual, // key equality predicate
                          CLASSNAME); // name of the class
     @endcode