]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/overlay.h
use bool expression rather than implicit conversion
[wxWidgets.git] / include / wx / overlay.h
index cb0b2e5a87c66d7a9cb7f1c13699e5de04fbd858..2c00fcb89766e7ac91dc5ce38219349c5b5b0875 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/defs.h"
 
-#if defined(wxOSX_USE_CORE_GRAPHICS) && wxOSX_USE_CORE_GRAPHICS && wxOSX_USE_QUICKDRAW
+#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_