X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ad75f457d171a8342b39a7676112f3ff55894f5..939197fe47148304d874496e954fbc5ddca722be:/include/wx/list.h diff --git a/include/wx/list.h b/include/wx/list.h index 47281cb1d5..bb80b07f44 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -135,13 +135,6 @@ private: #endif // defined( __VISUALC__ ) -// Visual C++ 2005 complains about the const -#if defined(__VISUALC__) && __VISUALC__ >= 1400 -#define _WX_DELETEFUNCTIONCONST -#else -#define _WX_DELETEFUNCTIONCONST const -#endif - #define WX_DECLARE_LIST_XO(elT, liT, decl) \ VC6_WORKAROUND(elT, liT, decl) \ decl liT : public std::list \ @@ -150,7 +143,7 @@ private: bool m_destroy; \ private: \ typedef elT _WX_LIST_ITEM_TYPE_##liT; \ - static void DeleteFunction( _WX_DELETEFUNCTIONCONST _WX_LIST_ITEM_TYPE_##liT X ); \ + static void DeleteFunction( _WX_LIST_ITEM_TYPE_##liT X ); \ public: \ class compatibility_iterator \ { \