X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9bccf239c1506c7eea0bddea44d9e4b76ad1d93..b6fd0b424573e09ae7e83a28b225bbba008157b7:/include/wx/sckaddr.h diff --git a/include/wx/sckaddr.h b/include/wx/sckaddr.h index 3fbb01ce98..28d1500cfd 100644 --- a/include/wx/sckaddr.h +++ b/include/wx/sckaddr.h @@ -128,9 +128,14 @@ public: // IPv4-specific methods: bool Hostname(unsigned long addr); - bool BroadcastAddress(); + // make base class methods hidden by our overload visible + // + // FIXME-VC6: replace this with "using IPAddress::Hostname" (not supported + // by VC6) when support for it is dropped + wxString Hostname() const { return wxIPaddress::Hostname(); } + bool Hostname(const wxString& name) { return wxIPaddress::Hostname(name); } - using wxIPaddress::Hostname; + bool BroadcastAddress(); private: virtual void DoInitImpl();