]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/url.cpp
Add start of selection api, support for HasSelection, SelectAll and DeleteSelection...
[wxWidgets.git] / src / common / url.cpp
index c0fb31cac2b8d7042f6ce8236cedeca290007b3c..15b9311839e476a852c5975c9cf8670264912b7f 100644 (file)
@@ -251,7 +251,7 @@ bool wxURL::FetchProtocol()
     {
         if (m_scheme == info->m_protoname)
         {
-            if (m_port.IsNull())
+            if ( m_port.empty() )
                 m_port = info->m_servname;
             m_protoinfo = info;
             m_protocol = (wxProtocol *)m_protoinfo->m_cinfo->CreateObject();