From: Václav Slavík Date: Wed, 8 Aug 2007 21:55:22 +0000 (+0000) Subject: fixed visiblity attribute warnings in STL build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e5eaf557448ae29e029a4b504abb845d5e0e7293?ds=inline fixed visiblity attribute warnings in STL build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/list.h b/include/wx/list.h index c9c679d24a..3bd75b3957 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -333,7 +333,7 @@ inline const void *wxListCastElementToVoidPtr(const wxString& str) ~liT() { Clear(); } \ \ /* It needs access to our EmptyList */ \ - friend decl compatibility_iterator; \ + friend class compatibility_iterator; \ } #define WX_DECLARE_LIST(elementtype, listname) \ @@ -491,7 +491,7 @@ class WXDLLIMPEXP_FWD_BASE wxList; class WXDLLIMPEXP_BASE wxListBase : public wxObject { -friend class WXDLLIMPEXP_FWD_BASE wxNodeBase; // should be able to call DetachNode() +friend class wxNodeBase; // should be able to call DetachNode() friend class wxHashTableBase; // should be able to call untyped Find() public: