]> git.saurik.com Git - wxWidgets.git/commitdiff
VC6 doesn't support using keyword (closes #10322)
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Jan 2009 17:08:41 +0000 (17:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Jan 2009 17:08:41 +0000 (17:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/sckaddr.h

index 3fbb01ce983a36be387cfdd6abc2068a36892bef..28d1500cfd9f262590adcecbadff7c7c7e98655e 100644 (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();