Two corrections to const fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -136,7 +136,7 @@ private:
|
|||||||
#endif // defined( __VISUALC__ )
|
#endif // defined( __VISUALC__ )
|
||||||
|
|
||||||
// Visual C++ 2005 complains about the const
|
// Visual C++ 2005 complains about the const
|
||||||
#if defined(__VISUALC__) && __VISUALC__ >= 1400
|
#if (defined(__VISUALC__) && __VISUALC__ >= 1400) || defined(__MWERKS__)
|
||||||
#define _WX_DELETEFUNCTIONCONST
|
#define _WX_DELETEFUNCTIONCONST
|
||||||
#else
|
#else
|
||||||
#define _WX_DELETEFUNCTIONCONST const
|
#define _WX_DELETEFUNCTIONCONST const
|
||||||
|
@@ -758,7 +758,7 @@ wxNode *wxStringList::Prepend(const wxChar *s)
|
|||||||
WX_DEFINE_LIST(wxObjectList)
|
WX_DEFINE_LIST(wxObjectList)
|
||||||
|
|
||||||
// with wxUSE_STL wxStringList contains wxString objects, not pointers
|
// with wxUSE_STL wxStringList contains wxString objects, not pointers
|
||||||
void wxStringListBase::DeleteFunction( const wxString WXUNUSED(X) )
|
void wxStringListBase::DeleteFunction( _WX_DELETEFUNCTIONCONST wxString WXUNUSED(X) )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user