From: Vadim Zeitlin Date: Wed, 6 Dec 2006 19:20:40 +0000 (+0000) Subject: we don't need to include wx/url.h from the header, we do need to include wx/uri.h... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5059e05d4264fb104bd982a8ce49f13f129a0a30 we don't need to include wx/url.h from the header, we do need to include wx/uri.h from the .cpp file (fixes compilation when wxUSE_URL==0 but wxUSE_PROTOCOL_FILE==1) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/protocol/file.h b/include/wx/protocol/file.h index 9a5af4b6f2..4be395dccf 100644 --- a/include/wx/protocol/file.h +++ b/include/wx/protocol/file.h @@ -17,7 +17,6 @@ #if wxUSE_PROTOCOL_FILE #include "wx/protocol/protocol.h" -#include "wx/url.h" class WXDLLIMPEXP_NET wxFileProto: public wxProtocol { DECLARE_DYNAMIC_CLASS_NO_COPY(wxFileProto) diff --git a/src/common/sckfile.cpp b/src/common/sckfile.cpp index adf5a85c90..152a91f89f 100644 --- a/src/common/sckfile.cpp +++ b/src/common/sckfile.cpp @@ -21,7 +21,7 @@ #ifndef WX_PRECOMP #endif -#include +#include "wx/uri.h" #include "wx/wfstream.h" #include "wx/protocol/file.h"