X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69a5bc231ac8112dcce8947c020add2d34c1be61..8257d7cd478c54532cc7d8fd0ace9faf5e9efb23:/include/wx/overlay.h diff --git a/include/wx/overlay.h b/include/wx/overlay.h index 2b6d267824..b418bef30f 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 +#if defined(wxMAC_USE_CORE_GRAPHICS) && wxMAC_USE_CORE_GRAPHICS && wxMAC_USE_QUICKDRAW #define wxHAS_NATIVE_OVERLAY 1 #elif defined(__WXDFB__) #define wxHAS_NATIVE_OVERLAY 1 @@ -28,8 +28,8 @@ // internal code // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxOverlayImpl; -class WXDLLEXPORT wxWindowDC; +class WXDLLIMPEXP_FWD_CORE wxOverlayImpl; +class WXDLLIMPEXP_FWD_CORE wxWindowDC; class WXDLLEXPORT wxOverlay { @@ -45,7 +45,7 @@ public: wxOverlayImpl *GetImpl() { return m_impl; } private: - friend class WXDLLEXPORT wxDCOverlay; + friend class WXDLLIMPEXP_FWD_CORE wxDCOverlay; // returns true if it has been setup bool IsOk();