X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d3e7b52d84580c28df8f754b81363502f917ac7..6def7a17b01a15e68696a1863d114ecc5554e3d4:/include/wx/hash.h diff --git a/include/wx/hash.h b/include/wx/hash.h index d9749ef6ad..247a844637 100644 --- a/include/wx/hash.h +++ b/include/wx/hash.h @@ -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;