X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3096bd2fa7b88105bc54c08e3c878585de1a9b91..236a9de39afa090fdee3cf91cb5364ceca69e3f8:/src/common/url.cpp diff --git a/src/common/url.cpp b/src/common/url.cpp index 203beef31d..8c680f6905 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -28,10 +28,8 @@ #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;