Unixware compilation fix (#undef index)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,6 +29,10 @@
|
|||||||
|
|
||||||
#if wxUSE_IMAGE
|
#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"))
|
#define wxIMAGE_OPTION_FILENAME wxString(_T("FileName"))
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -93,7 +97,7 @@ private:
|
|||||||
class WXDLLEXPORT wxImageHistogramEntry
|
class WXDLLEXPORT wxImageHistogramEntry
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxImageHistogramEntry() : index(0), value(0) {}
|
wxImageHistogramEntry() { index = value = 0; }
|
||||||
unsigned long index;
|
unsigned long index;
|
||||||
unsigned long value;
|
unsigned long value;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user