From 22166968d3de9e4571abdcb4f8684f79b50765d0 Mon Sep 17 00:00:00 2001 From: "RichardAsh1981@gmail.com" Date: Fri, 30 Aug 2013 19:17:04 +0000 Subject: [PATCH] convert commented out code into a comment on why the obvious code would be wrong --- src/LabelTrack.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LabelTrack.h b/src/LabelTrack.h index 4e7517595..b14cafc71 100644 --- a/src/LabelTrack.h +++ b/src/LabelTrack.h @@ -86,7 +86,8 @@ public: bool updated; /// flag to tell if the label times were updated }; -//AUDACITY_DLL_API WX_DEFINE_ARRAY(LabelStruct *, LabelArray); +//You can't stick AUDACITY_DLL_API in front of the WX_DEFINE_ARRAY() macro, you +//have to use the below macro instead to avoid a warning WX_DEFINE_USER_EXPORTED_ARRAY(LabelStruct *, LabelArray, class AUDACITY_DLL_API); const int NUM_GLYPH_CONFIGS = 3;