]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for wxUSE_PROTOCOL && !wxUSE_URL.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 28 Aug 2009 10:44:25 +0000 (10:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 28 Aug 2009 10:44:25 +0000 (10:44 +0000)
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
src/common/url.cpp

index 110afc760ca4455691e58adaa645037aa6ad4039..0173b097b74a1c5f214bd52841b3f14bd321ce2b 100644 (file)
@@ -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),
index 4d68232825d0ddf8da167c6d8286a1c72e28d4a3..cbca1ffeb3742858085cb15c53e92479aae99dae 100644 (file)
@@ -30,7 +30,6 @@
 #include <string.h>
 #include <ctype.h>
 
-IMPLEMENT_CLASS(wxProtoInfo, wxObject)
 IMPLEMENT_CLASS(wxURL, wxURI)
 
 // Protocols list