NULL is not bool.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -287,7 +287,7 @@ wxInputStream *wxURL::GetInputStream()
|
||||
// When we use a proxy, we have to pass the whole URL to it.
|
||||
wxInputStream *the_i_stream;
|
||||
|
||||
if (m_useProxy != NULL)
|
||||
if (!m_useProxy)
|
||||
{
|
||||
the_i_stream = m_protocol->GetInputStream(m_url);
|
||||
}
|
||||
|
Reference in New Issue
Block a user