]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dnd.cpp
xcode native target adaption
[wxWidgets.git] / src / gtk / dnd.cpp
index 93f307cf8e8db008bf36713a8ca3acb766a0cf12..2181646be5aa88eb64dd8c612b33e93d6ec91f2b 100644 (file)
@@ -7,10 +7,13 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "dnd.h"
 #endif
 
     #pragma implementation "dnd.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/dnd.h"
 #include "wx/log.h"
                                                                               
 #include "wx/dnd.h"
 #include "wx/log.h"