]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/hashmap.h
exposed background theme
[wxWidgets.git] / include / wx / hashmap.h
index 83c63c35c3f38309a1668a71b652d64622a41f49..33cd821d6db7beae29c631a9136b392f2d70443f 100644 (file)
@@ -365,7 +365,7 @@ CLASSEXP CLASSNAME \
 { \
 public: \
     CLASSNAME() { } \
-    KEY_T operator()( PAIR_T pair ) const { return pair.first; } \
+    const KEY_T& operator()( const PAIR_T& pair ) const { return pair.first; }\
     \
     /* the dummy assignment operator is needed to suppress compiler */ \
     /* warnings from hash table class' operator=(): gcc complains about */ \