Applied patch [ 1394164 ] Update wxWinINetURL to use wxURI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -199,11 +199,11 @@ wxURLNativeImp *wxURL::CreateNativeImpObject()
|
|||||||
wxInputStream *wxWinINetURL::GetInputStream(wxURL *owner)
|
wxInputStream *wxWinINetURL::GetInputStream(wxURL *owner)
|
||||||
{
|
{
|
||||||
DWORD service;
|
DWORD service;
|
||||||
if ( owner->GetProtocolName() == wxT("http") )
|
if ( owner->GetScheme() == wxT("http") )
|
||||||
{
|
{
|
||||||
service = INTERNET_SERVICE_HTTP;
|
service = INTERNET_SERVICE_HTTP;
|
||||||
}
|
}
|
||||||
else if ( owner->GetProtocolName() == wxT("ftp") )
|
else if ( owner->GetScheme() == wxT("ftp") )
|
||||||
{
|
{
|
||||||
service = INTERNET_SERVICE_FTP;
|
service = INTERNET_SERVICE_FTP;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user