diff --git a/include/wx/apptrait.h b/include/wx/apptrait.h index ee9501af6b..8cd8cd4797 100644 --- a/include/wx/apptrait.h +++ b/include/wx/apptrait.h @@ -24,7 +24,11 @@ class WXDLLEXPORT wxMessageOutput; // wxAppTraits: this class defines various configurable aspects of wxApp // ---------------------------------------------------------------------------- +#if wxUSE_BASE class WXDLLIMPEXP_BASE wxAppTraitsBase +#else +class WXDLLIMPEXP_CORE wxAppTraitsBase +#endif { public: // wxAppTraits is an ABC, but we also provide 2 standard implementations of