]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/protocol.cpp
Removed warnings
[wxWidgets.git] / src / common / protocol.cpp
index 21df7e8997284e0fed06df95342a78d3e5cd476c..b9cbcb8634ec949bed83a6f155a54a10f2c340eb 100644 (file)
 #pragma implementation "protocol.h"
 #endif
 
-#ifdef WXPREC
-#include <wx/wxprec.h>
-#else
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
 #include <wx/wx.h>
 #endif
 
 #include "wx/protocol/protocol.h"
 #include "wx/url.h"
 
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
-
 /////////////////////////////////////////////////////////////////
 // wxProtoInfo
 /////////////////////////////////////////////////////////////////