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
This commit is contained in:
Vadim Zeitlin 2009-08-28 10:44:25 +00:00
parent dc2575bad4
commit ef8f6d9590
2 changed files with 2 additions and 1 deletions

View 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),

View File

@ -30,7 +30,6 @@
#include <string.h>
#include <ctype.h>
IMPLEMENT_CLASS(wxProtoInfo, wxObject)
IMPLEMENT_CLASS(wxURL, wxURI)
// Protocols list