X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa61b1df36e12ffdb77ec07677f6e14881c96a3b..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/overlay.h?ds=sidebyside diff --git a/include/wx/overlay.h b/include/wx/overlay.h index c48639ee85..2c00fcb897 100644 --- a/include/wx/overlay.h +++ b/include/wx/overlay.h @@ -14,7 +14,7 @@ #include "wx/defs.h" -#if wxOSX_USE_CARBON +#if defined(__WXMAC__) && wxOSX_USE_CARBON #define wxHAS_NATIVE_OVERLAY 1 #elif defined(__WXDFB__) #define wxHAS_NATIVE_OVERLAY 1 @@ -63,7 +63,7 @@ private: bool m_inDrawing; - DECLARE_NO_COPY_CLASS(wxOverlay) + wxDECLARE_NO_COPY_CLASS(wxOverlay); }; @@ -91,7 +91,7 @@ private: wxDC* m_dc; - DECLARE_NO_COPY_CLASS(wxDCOverlay) + wxDECLARE_NO_COPY_CLASS(wxDCOverlay); }; #endif // _WX_OVERLAY_H_