]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dc.cpp
don't give error messages if ws2_32.dll is not available in wxGetHostName()
[wxWidgets.git] / src / gtk / dc.cpp
index 46ea5626c490821d5fe286b97c78456ae55343c8..11b2991b4057c284018c4a3b81b9ac70cfe6b25b 100644 (file)
@@ -3,15 +3,18 @@
 // Purpose:
 // Author:      Robert Roebling
 // RCS-ID:      $Id$
-// Copyright:   (c) 1998 Robert Roebling, Markus Holzem
+// Copyright:   (c) 1998 Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "dc.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/dc.h"
 
 #include <gdk/gdk.h>