]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/protocol.cpp
applying OSAF patch for "toolbar selection not correct on Mac after calling Realize...
[wxWidgets.git] / src / common / protocol.cpp
index 955a11de6680133b0ad8e7ccd4d46b39355ee1b1..e1933a2e200344393077fbeaef7668ff9b60c4eb 100644 (file)
@@ -45,8 +45,12 @@ wxProtoInfo::wxProtoInfo(const wxChar *name, const wxChar *serv,
 {
     m_cinfo = info;
     m_needhost = need_host1;
+#if wxUSE_URL
     next = wxURL::ms_protocols;
     wxURL::ms_protocols = this;
+#else
+    next = NULL;
+#endif
 }
 
 /////////////////////////////////////////////////////////////////