From 09fb22cf3cc6555bb0cfd989e81d2e21b78a6f7c Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 25 Oct 1999 14:27:04 +0000 Subject: [PATCH 1/1] Changed #include file ordering so it compiles. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/wxsocket/client.cpp | 3 ++- samples/wxsocket/server.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/samples/wxsocket/client.cpp b/samples/wxsocket/client.cpp index 0ffb78c522..2dba5c91b3 100644 --- a/samples/wxsocket/client.cpp +++ b/samples/wxsocket/client.cpp @@ -32,11 +32,12 @@ // for all others, include the necessary headers #ifndef WX_PRECOMP # include "wx/wx.h" +#endif + # include "wx/socket.h" # include "wx/url.h" # include "wx/protocol/http.h" # include "wx/progdlg.h" -#endif // -------------------------------------------------------------------------- // resources diff --git a/samples/wxsocket/server.cpp b/samples/wxsocket/server.cpp index 087b58ccfb..a2285079c2 100644 --- a/samples/wxsocket/server.cpp +++ b/samples/wxsocket/server.cpp @@ -32,9 +32,10 @@ // for all others, include the necessary headers #ifndef WX_PRECOMP # include "wx/wx.h" -# include "wx/socket.h" #endif +#include "wx/socket.h" + // -------------------------------------------------------------------------- // resources // -------------------------------------------------------------------------- -- 2.45.2