]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listimpl.cpp
DeleteFunction argument should be non-const since it
[wxWidgets.git] / include / wx / listimpl.cpp
index f5a0fc4bf75a4e8fa007a3978bbd29980dbc4045..a7d3729d087df341504e8611a647a43ccea48176 100644 (file)
@@ -13,7 +13,7 @@
 
     #undef  WX_DEFINE_LIST
     #define WX_DEFINE_LIST(name)                                        \
-        void name::DeleteFunction( _WX_DELETEFUNCTIONCONST _WX_LIST_ITEM_TYPE_##name X )  \
+        void name::DeleteFunction( _WX_LIST_ITEM_TYPE_##name X )        \
         {                                                               \
             delete X;                                                   \
         }