From 6f0740beb58234a7a6b6db6f4a0714cfa2177a31 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 26 Sep 2009 16:43:37 +0000 Subject: [PATCH] Use FWD version of DLL export macro in forward declaration. Forward declarations must use WXDLLIMPEXP_FWD_XXX and not WXDLLIMPEXP_XXX to avoid g++ warnings about "type attributes are honored only at type definition". git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/osx/sound.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/osx/sound.h b/include/wx/osx/sound.h index 8f9f3edd37..e41636b1ef 100644 --- a/include/wx/osx/sound.h +++ b/include/wx/osx/sound.h @@ -17,7 +17,7 @@ #include "wx/object.h" -class WXDLLIMPEXP_ADV wxSoundTimer; +class WXDLLIMPEXP_FWD_ADV wxSoundTimer; class WXDLLIMPEXP_ADV wxSoundData {