]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcbuffer.h
check for self-assignment in operator=
[wxWidgets.git] / include / wx / dcbuffer.h
index 203f7cd1a38c93a7aef6be8c9718a7caf3fe71e2..991fdaad39e16493bd7ae7c47ac909ff6dbd0346 100644 (file)
@@ -139,7 +139,7 @@ private:
     int m_style;
 
     DECLARE_DYNAMIC_CLASS(wxBufferedDC)
-    DECLARE_NO_COPY_CLASS(wxBufferedDC)
+    wxDECLARE_NO_COPY_CLASS(wxBufferedDC);
 };
 
 
@@ -199,7 +199,7 @@ private:
     wxPaintDC m_paintdc;
 
     DECLARE_ABSTRACT_CLASS(wxBufferedPaintDC)
-    DECLARE_NO_COPY_CLASS(wxBufferedPaintDC)
+    wxDECLARE_NO_COPY_CLASS(wxBufferedPaintDC);
 };
 
 
@@ -241,7 +241,7 @@ private:
                       wxT("and also, if needed, paint the background manually in the paint event handler."));
     }
 
-    DECLARE_NO_COPY_CLASS(wxAutoBufferedPaintDC)
+    wxDECLARE_NO_COPY_CLASS(wxAutoBufferedPaintDC);
 };
 
 #else // !__WXDEBUG__