]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dragimgg.cpp
compilation warning fix
[wxWidgets.git] / src / generic / dragimgg.cpp
index 40c71aba6ffec08dd94e77dad1f7096ac65d0c32..ac83bc99bdea6bbd79169d330d3af12f846cee67 100644 (file)
@@ -28,6 +28,8 @@
 #pragma hdrstop
 #endif
 
 #pragma hdrstop
 #endif
 
+#if wxUSE_DRAGIMAGE
+
 #ifndef WX_PRECOMP
 #include <stdio.h>
 #include "wx/setup.h"
 #ifndef WX_PRECOMP
 #include <stdio.h>
 #include "wx/setup.h"
@@ -498,3 +500,4 @@ wxRect wxGenericDragImage::GetImageRect(const wxPoint& pos) const
     }
 }
 
     }
 }
 
+#endif // wxUSE_DRAGIMAGE