git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20152
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#if wxUSE_IMAGE
+// on some systems (Unixware 7.x) index is defined as a macro in the headers
+// which breaks the compilation below
+#undef index
+
#define wxIMAGE_OPTION_FILENAME wxString(_T("FileName"))
//-----------------------------------------------------------------------------
class WXDLLEXPORT wxImageHistogramEntry
{
public:
- wxImageHistogramEntry() : index(0), value(0) {}
+ wxImageHistogramEntry() { index = value = 0; }
unsigned long index;
unsigned long value;
};