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:
@@ -34,6 +34,8 @@
|
|||||||
// wxProtoInfo
|
// wxProtoInfo
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
IMPLEMENT_CLASS(wxProtoInfo, wxObject)
|
||||||
|
|
||||||
wxProtoInfo::wxProtoInfo(const wxChar *name, const wxChar *serv,
|
wxProtoInfo::wxProtoInfo(const wxChar *name, const wxChar *serv,
|
||||||
const bool need_host1, wxClassInfo *info)
|
const bool need_host1, wxClassInfo *info)
|
||||||
: m_protoname(name),
|
: m_protoname(name),
|
||||||
|
@@ -30,7 +30,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
IMPLEMENT_CLASS(wxProtoInfo, wxObject)
|
|
||||||
IMPLEMENT_CLASS(wxURL, wxURI)
|
IMPLEMENT_CLASS(wxURL, wxURI)
|
||||||
|
|
||||||
// Protocols list
|
// Protocols list
|
||||||
|
Reference in New Issue
Block a user