]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sckaddr.h
allow using CPPUNIT_ASSERT_EQUAL(int, wxFileOffset) too
[wxWidgets.git] / 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();