diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index 84a65cbce6..a8684e7999 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -215,9 +215,11 @@ public: // cannot handle types with size greater than pointer because of sorting // ---------------------------------------------------------------------------- -#define _WX_DEFINE_SORTED_TYPEARRAY_2(T, name, base, defcomp, classexp) \ +// Note that "classdecl" here is intentionally not used because this class has +// only inline methods and so never needs to be exported from a DLL. +#define _WX_DEFINE_SORTED_TYPEARRAY_2(T, name, base, defcomp, classdecl) \ typedef wxBaseSortedArray wxBaseSortedArrayFor##name; \ - classexp name : public wxBaseSortedArrayFor##name \ + class name : public wxBaseSortedArrayFor##name \ { \ public: \ name(wxBaseSortedArrayFor##name::SCMPFUNC fn defcomp) \