compilation fix for IBM xlC (closes 1230392)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,6 +13,7 @@ All:
|
||||
- Added new methods to wxMediaCtrl (wxURI version of Load, ShowPlayerControls)
|
||||
- Added wxZipFSHandler::Cleanup() (Stas Sergeev)
|
||||
- Added wxImage::RotateHue() and RGB <-> HSV conversions (John Anderson)
|
||||
- Fixed compilation with IBM xlC compiler
|
||||
|
||||
All (GUI):
|
||||
|
||||
|
@@ -1274,6 +1274,17 @@ public:
|
||||
{ return (wxString&)wxStringBase::operator+=(ch); }
|
||||
};
|
||||
|
||||
// IBM xlC compiler needs these operators to be declared in global scope,
|
||||
// although this shouldn't be a problem for the other compilers we prefer to
|
||||
// only do it for it in stable 2.6 branch
|
||||
#ifdef __IBMCPP__
|
||||
wxString WXDLLIMPEXP_BASE operator+(const wxString& string1, const wxString& string2);
|
||||
wxString WXDLLIMPEXP_BASE operator+(const wxString& string, wxChar ch);
|
||||
wxString WXDLLIMPEXP_BASE operator+(wxChar ch, const wxString& string);
|
||||
wxString WXDLLIMPEXP_BASE operator+(const wxString& string, const wxChar *psz);
|
||||
wxString WXDLLIMPEXP_BASE operator+(const wxChar *psz, const wxString& string);
|
||||
#endif // __IBMCPP__
|
||||
|
||||
// define wxArrayString, for compatibility
|
||||
#if WXWIN_COMPATIBILITY_2_4 && !wxUSE_STL
|
||||
#include "wx/arrstr.h"
|
||||
|
Reference in New Issue
Block a user