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:
parent
339282ccab
commit
a25824bc91
@ -796,7 +796,7 @@ void wxSockAddress::Clear()
|
||||
wxSockAddressImpl& wxIPaddress::GetImpl()
|
||||
{
|
||||
if ( m_impl->GetFamily() == wxSockAddressImpl::FAMILY_UNSPEC )
|
||||
m_impl->CreateINET();
|
||||
DoInitImpl();
|
||||
|
||||
return *m_impl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user