]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dnd.cpp
Declare namespace std {} before using namespace std; for MetroWerks
[wxWidgets.git] / src / gtk / dnd.cpp
index 93f307cf8e8db008bf36713a8ca3acb766a0cf12..bacea138e7723e98924f993775921d3110cac4f0 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"
                                                                               
@@ -112,7 +115,7 @@ static const char * page_xpm[] = {
 // ============================================================================
 
 // ----------------------------------------------------------------------------
-// convert between GTK+ and wxWindows DND constants
+// convert between GTK+ and wxWidgets DND constants
 // ----------------------------------------------------------------------------
 
 static wxDragResult ConvertFromGTK(long action)