From 868302f32621eca2d9de6a3a5ea7a4fbd10a8792 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 16 Sep 2007 23:27:06 +0000 Subject: [PATCH] fix warnings due to use of WXDLLEXPORT on forward declarations git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/accel.cpp | 2 +- src/mac/carbon/brush.cpp | 2 +- src/mac/carbon/cursor.cpp | 3 +-- src/mac/carbon/font.cpp | 2 +- src/mac/carbon/metafile.cpp | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/mac/carbon/accel.cpp b/src/mac/carbon/accel.cpp index 484b49e5ad..d15f454626 100644 --- a/src/mac/carbon/accel.cpp +++ b/src/mac/carbon/accel.cpp @@ -33,7 +33,7 @@ WX_DEFINE_LIST(wxAccelList) class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData { - friend class WXDLLEXPORT wxAcceleratorTable; + friend class wxAcceleratorTable; public: wxAcceleratorRefData(); virtual ~wxAcceleratorRefData(); diff --git a/src/mac/carbon/brush.cpp b/src/mac/carbon/brush.cpp index 74e83ebd77..3c91757ec9 100644 --- a/src/mac/carbon/brush.cpp +++ b/src/mac/carbon/brush.cpp @@ -23,7 +23,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject) class WXDLLEXPORT wxBrushRefData: public wxGDIRefData { - friend class WXDLLEXPORT wxBrush; + friend class wxBrush; public: wxBrushRefData(); diff --git a/src/mac/carbon/cursor.cpp b/src/mac/carbon/cursor.cpp index cee91f767c..f6cb3ddfa3 100644 --- a/src/mac/carbon/cursor.cpp +++ b/src/mac/carbon/cursor.cpp @@ -31,8 +31,7 @@ class WXDLLEXPORT wxCursorRefData: public wxBitmapRefData { DECLARE_NO_COPY_CLASS(wxCursorRefData) - friend class WXDLLEXPORT wxBitmap; - friend class WXDLLEXPORT wxCursor; + friend class wxCursor; public: wxCursorRefData(); diff --git a/src/mac/carbon/font.cpp b/src/mac/carbon/font.cpp index 0fcdd8ad72..90f88f2d00 100644 --- a/src/mac/carbon/font.cpp +++ b/src/mac/carbon/font.cpp @@ -36,7 +36,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject) class WXDLLEXPORT wxFontRefData: public wxGDIRefData { - friend class WXDLLEXPORT wxFont; + friend class wxFont; public: wxFontRefData() diff --git a/src/mac/carbon/metafile.cpp b/src/mac/carbon/metafile.cpp index 07a905760f..3c211cad89 100644 --- a/src/mac/carbon/metafile.cpp +++ b/src/mac/carbon/metafile.cpp @@ -35,7 +35,7 @@ IMPLEMENT_ABSTRACT_CLASS(wxMetafileDC, wxDC) class wxMetafileRefData: public wxGDIRefData { - friend class WXDLLEXPORT wxMetafile; + friend class wxMetafile; public: wxMetafileRefData(); -- 2.45.2