]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/list.h
STL build: fix missing const which results in Insert(int, T) being called instead...
[wxWidgets.git] / include / wx / list.h
index 5f9b4d1fa0e25404f6cefb1c57c42325a62f39e0..7bfeb79f63bd312f13dabf76f08ec50560beecd6 100644 (file)
@@ -275,7 +275,7 @@ inline const void *wxListCastElementToVoidPtr(const wxString& str)
             push_front( e );                                                  \
             return compatibility_iterator( this, begin() );                   \
         }                                                                     \
-        compatibility_iterator Insert( compatibility_iterator & i, elT e )    \
+        compatibility_iterator Insert(const compatibility_iterator & i, elT e)\
         {                                                                     \
             return compatibility_iterator( this, insert( i.m_iter, e ) );     \
         }                                                                     \