X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48ba35c35751f2ba053d091bb9b75f870250c132..ee6dd41a508c2bf598c178696a43bb665e0d4c01:/include/wx/list.h diff --git a/include/wx/list.h b/include/wx/list.h index a83cff4166..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) || defined(__MWERKS__) -#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 \ { \