explicitly forward declare wxHashTableBase when wxUSE_STL == 1; this is apparently needed for xlC (AIX compiler)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-09-27 18:19:22 +00:00
parent 1239ac2e28
commit 5a2ec1b841

View File

@ -111,6 +111,10 @@ union wxHashKeyValue
wxChar *string;
};
// for some compilers (AIX xlC), defining it as friend inside the class is not
// enough, so provide a real forward declaration
class WXDLLIMPEXP_BASE wxHashTableBase;
class WXDLLIMPEXP_BASE wxHashTableBase_Node
{
friend class WXDLLIMPEXP_BASE wxHashTableBase;