X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa61b1df36e12ffdb77ec07677f6e14881c96a3b..03773e400b6ff2692f2a9ba045d652c3b7b7109d:/include/wx/overlay.h 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_