From: Vadim Zeitlin Date: Fri, 28 Aug 2009 10:44:25 +0000 (+0000) Subject: Compilation fix for wxUSE_PROTOCOL && !wxUSE_URL. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ef8f6d9590b7f9c73dcdfac244647c6e88ebd2ec Compilation fix for wxUSE_PROTOCOL && !wxUSE_URL. IMPLEMENT_CLASS(wxProtoInfo) wasn't compiled in in this build configuration because it was in url.cpp instead of protocol.cpp and so was guarded by wxUSE_URL and not wxUSE_PROTOCOL as it should have been. Closes #11151. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/protocol.cpp b/src/common/protocol.cpp index 110afc760c..0173b097b7 100644 --- a/src/common/protocol.cpp +++ b/src/common/protocol.cpp @@ -34,6 +34,8 @@ // wxProtoInfo // ---------------------------------------------------------------------------- +IMPLEMENT_CLASS(wxProtoInfo, wxObject) + wxProtoInfo::wxProtoInfo(const wxChar *name, const wxChar *serv, const bool need_host1, wxClassInfo *info) : m_protoname(name), diff --git a/src/common/url.cpp b/src/common/url.cpp index 4d68232825..cbca1ffeb3 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -30,7 +30,6 @@ #include #include -IMPLEMENT_CLASS(wxProtoInfo, wxObject) IMPLEMENT_CLASS(wxURL, wxURI) // Protocols list