]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dnd.cpp
set device origin when drawing on a frame in order to not overwrite the menu/toolbar...
[wxWidgets.git] / src / gtk1 / dnd.cpp
index 93f307cf8e8db008bf36713a8ca3acb766a0cf12..2181646be5aa88eb64dd8c612b33e93d6ec91f2b 100644 (file)
@@ -7,10 +7,13 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #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"