]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dnd.cpp
fix OpenWatcom warning (patch from Jaakko Salli)
[wxWidgets.git] / src / gtk1 / dnd.cpp
index 46a175b0934d3011e2169564148f1a9197965937..becc53af147002f8940f251ae63121f2b30c87c7 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        dnd.cpp
+// Name:        src/gtk1/dnd.cpp
 // Purpose:     wxDropTarget class
 // Author:      Robert Roebling
 // Id:          $Id$
 // Purpose:     wxDropTarget class
 // Author:      Robert Roebling
 // Id:          $Id$
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#include "wx/dnd.h"
-#include "wx/log.h"
+#if wxUSE_DRAG_AND_DROP
 
 
+#include "wx/dnd.h"
 
 
-#if wxUSE_DRAG_AND_DROP
+#ifndef WX_PRECOMP
+    #include "wx/intl.h"
+    #include "wx/log.h"
+    #include "wx/app.h"
+    #include "wx/utils.h"
+    #include "wx/window.h"
+#endif
 
 
-#include "wx/window.h"
-#include "wx/app.h"
 #include "wx/gdicmn.h"
 #include "wx/gdicmn.h"
-#include "wx/intl.h"
-#include "wx/utils.h"
 
 #include "wx/gtk1/private.h"
 
 
 #include "wx/gtk1/private.h"