From: Vadim Zeitlin Date: Sat, 26 Sep 2009 16:43:37 +0000 (+0000) Subject: Use FWD version of DLL export macro in forward declaration. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6f0740beb58234a7a6b6db6f4a0714cfa2177a31?ds=sidebyside 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 --- 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 {