]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dragimgg.h
activating DrawRectangle optimization
[wxWidgets.git] / include / wx / generic / dragimgg.h
index 7c1c72a239fa6d35a45b47d3852f585a9657fcd2..f37a9abcc16370596661c872ea174ca834b7c9f6 100644 (file)
@@ -193,7 +193,7 @@ public:
 
     // Begin drag. hotspot is the location of the drag position relative to the upper-left
     // corner of the image.
-    bool BeginDrag(const wxPoint& hotspot, wxWindow* window, bool fullScreen = false, wxRect* rect = (wxRect*) NULL);
+    bool BeginDrag(const wxPoint& hotspot, wxWindow* window, bool fullScreen = false, wxRect* rect = NULL);
 
     // Begin drag. hotspot is the location of the drag position relative to the upper-left
     // corner of the image. This is full screen only. fullScreenRect gives the
@@ -265,7 +265,7 @@ protected:
 
 private:
     DECLARE_DYNAMIC_CLASS(wxGenericDragImage)
-    DECLARE_NO_COPY_CLASS(wxGenericDragImage)
+    wxDECLARE_NO_COPY_CLASS(wxGenericDragImage);
 };
 
 #endif