VC6 doesn't support using keyword (closes #10322)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-01-01 17:08:41 +00:00
parent 6edd82502e
commit 8dc5f051c7

View File

@ -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();