From ef8f6d9590b7f9c73dcdfac244647c6e88ebd2ec Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 28 Aug 2009 10:44:25 +0000 Subject: [PATCH] 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 --- src/common/protocol.cpp | 2 ++ src/common/url.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.45.2