X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30d54e2732fe66d65c76b65a092b52e712d7abb8..98fa068e79262b7523b5e32c7dbeb88336bd1fc1:/include/wx/overlay.h diff --git a/include/wx/overlay.h b/include/wx/overlay.h index b89e988899..2c00fcb897 100644 --- a/include/wx/overlay.h +++ b/include/wx/overlay.h @@ -14,7 +14,7 @@ #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 @@ -31,7 +31,7 @@ class WXDLLIMPEXP_FWD_CORE wxOverlayImpl; class WXDLLIMPEXP_FWD_CORE wxDC; -class WXDLLEXPORT wxOverlay +class WXDLLIMPEXP_CORE wxOverlay { public: wxOverlay(); @@ -63,11 +63,11 @@ private: bool m_inDrawing; - DECLARE_NO_COPY_CLASS(wxOverlay) + wxDECLARE_NO_COPY_CLASS(wxOverlay); }; -class WXDLLEXPORT wxDCOverlay +class WXDLLIMPEXP_CORE wxDCOverlay { public: // connects this overlay to the corresponding drawing dc, if the overlay is @@ -91,7 +91,7 @@ private: wxDC* m_dc; - DECLARE_NO_COPY_CLASS(wxDCOverlay) + wxDECLARE_NO_COPY_CLASS(wxDCOverlay); }; #endif // _WX_OVERLAY_H_