]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dc.h
show the item for which the context menu is shown correctly
[wxWidgets.git] / include / wx / dc.h
index 34ce1abdc255cd30493ed35aa32b7767230411b8..a5784f471ccc4528f8c8b64f90846762d4e42198 100644 (file)
@@ -856,6 +856,10 @@ private:
     #include "wx/os2/dc.h"
 #endif
 
+#if wxUSE_GRAPHICS_CONTEXT
+    #include "wx/dcgraph.h"
+#endif
+
 // ----------------------------------------------------------------------------
 // helper class: you can use it to temporarily change the DC text colour and
 // restore it automatically when the object goes out of scope
@@ -1002,7 +1006,7 @@ private:
     bool m_inDrawing;
 
 
-    DECLARE_NO_COPY_CLASS(wxOverlay);
+    DECLARE_NO_COPY_CLASS(wxOverlay)
 };
 
 class WXDLLEXPORT wxDCOverlay
@@ -1029,7 +1033,7 @@ private:
     wxWindowDC* m_dc;
 
 
-    DECLARE_NO_COPY_CLASS(wxDCOverlay);
+    DECLARE_NO_COPY_CLASS(wxDCOverlay)
 };
 
 #endif // _WX_DC_H_BASE_