#include "wx/defs.h"
-#if defined(wxMAC_USE_CORE_GRAPHICS) && wxMAC_USE_CORE_GRAPHICS && wxMAC_USE_QUICKDRAW
+#if defined(__WXMAC__) && wxOSX_USE_CARBON
#define wxHAS_NATIVE_OVERLAY 1
#elif defined(__WXDFB__)
#define wxHAS_NATIVE_OVERLAY 1
class WXDLLIMPEXP_FWD_CORE wxOverlayImpl;
class WXDLLIMPEXP_FWD_CORE wxDC;
-class WXDLLEXPORT wxOverlay
+class WXDLLIMPEXP_CORE wxOverlay
{
public:
wxOverlay();
};
-class WXDLLEXPORT wxDCOverlay
+class WXDLLIMPEXP_CORE wxDCOverlay
{
public:
// connects this overlay to the corresponding drawing dc, if the overlay is