]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/overlay.h
Don't duplicate event sending code in wxGTK wxListBox.
[wxWidgets.git] / include / wx / overlay.h
index c48639ee85bb546a627d4a7416c18b9df9ca8190..2c00fcb89766e7ac91dc5ce38219349c5b5b0875 100644 (file)
@@ -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_