]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckaddr.cpp
Minor GTK fixes for wxGrid.
[wxWidgets.git] / src / common / sckaddr.cpp
index 75a6079af4a3a9205aebe802ae04cf9c5747673d..8131c0427abb3311cce9f3d534a01199df1c8e87 100644 (file)
@@ -131,6 +131,11 @@ bool wxIPV4address::LocalHost()
   return (GAddress_INET_SetHostName(m_address, "localhost") == GSOCK_NOERROR);
 }
 
   return (GAddress_INET_SetHostName(m_address, "localhost") == GSOCK_NOERROR);
 }
 
+bool wxIPV4address::AnyAddress()
+{
+  return (GAddress_INET_SetAnyAddress(m_address) == GSOCK_NOERROR);
+}
+
 wxString wxIPV4address::Hostname()
 {
    char hostname[1024];
 wxString wxIPV4address::Hostname()
 {
    char hostname[1024];