Fix wxIPV6address initialization

Use DoInitImpl() which, somehow, was never used before, meaning that,
apparently, wxIPV6address never worked at all, as objects of this type
were still initialized to use FAMILY_INET (i.e. IPv4 address family).

Closes #22463.
This commit is contained in:
Vadim Zeitlin 2022-05-27 15:26:26 +02:00
parent 339282ccab
commit a25824bc91

View File

@ -796,7 +796,7 @@ void wxSockAddress::Clear()
wxSockAddressImpl& wxIPaddress::GetImpl()
{
if ( m_impl->GetFamily() == wxSockAddressImpl::FAMILY_UNSPEC )
m_impl->CreateINET();
DoInitImpl();
return *m_impl;
}