X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/223d09f6b523aac674ef9b72a883dfa8d37c5d4e..4b7f2165565bb33b149baf1272e28f9a61d579d3:/src/common/url.cpp diff --git a/src/common/url.cpp b/src/common/url.cpp index 813ac542e5..8c680f6905 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -23,15 +23,13 @@ #include #include -#include -#include -#include -#include +#include "wx/string.h" +#include "wx/list.h" +#include "wx/utils.h" +#include "wx/url.h" -#if !USE_SHARED_LIBRARY IMPLEMENT_CLASS(wxProtoInfo, wxObject) IMPLEMENT_CLASS(wxURL, wxObject) -#endif // Protocols list wxProtoInfo *wxURL::g_protocols = NULL; @@ -162,7 +160,7 @@ bool wxURL::PrepHost(wxString& url) wxString temp_url; int pos, pos2; - if ((url.GetChar(0) != '/') || (url.GetChar(1) != '/')) + if ((url.GetChar(0) != wxT('/')) || (url.GetChar(1) != wxT('/'))) return FALSE; url = url(2, url.Length()); @@ -240,7 +238,7 @@ bool wxURL::FetchProtocol() // --------- wxURL get ------------------------------------------ // -------------------------------------------------------------- -wxInputStream *wxURL::GetInputStream(void) +wxInputStream *wxURL::GetInputStream() { wxInputStream *the_i_stream = NULL;