]> git.saurik.com Git - wxWidgets.git/commitdiff
Use FWD version of DLL export macro in forward declaration.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 26 Sep 2009 16:43:37 +0000 (16:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 26 Sep 2009 16:43:37 +0000 (16:43 +0000)
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

index 8f9f3edd3738bb24d5a886b60599400f60585ce6..e41636b1efe8f49cfa3dbe892cbf9565ecc305df 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "wx/object.h"
 
 
 #include "wx/object.h"
 
-class WXDLLIMPEXP_ADV wxSoundTimer;
+class WXDLLIMPEXP_FWD_ADV wxSoundTimer;
 
 class WXDLLIMPEXP_ADV wxSoundData
 {
 
 class WXDLLIMPEXP_ADV wxSoundData
 {