]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sckaddr.h
change the selection appropriately (and refresh it as needed) after deleting a notebo...
[wxWidgets.git] / include / wx / sckaddr.h
index 087b9510d09bbccfd444521d4103325759760917..ab0f989e81be4c119de7a12bb0dd4dea804c5638 100644 (file)
@@ -42,11 +42,14 @@ public:
   void SetAddress(GAddress *address);
 
   // we need to be able to create copies of the addresses polymorphically (i.e.
-  // wihtout knowing the exact address class)
+  // without knowing the exact address class)
   virtual wxSockAddress *Clone() const = 0;
 
 protected:
   GAddress *m_address;
+
+private:
+  void Init();
 };
 
 class WXDLLEXPORT wxIPV4address : public wxSockAddress {
@@ -98,7 +101,7 @@ public:
 };
 #endif
 
-#if defined(__UNIX__) && !defined(__WXMAC__)
+#if defined(__UNIX__) && (!defined(__WXMAC__) || defined(__DARWIN__))
 #include <sys/socket.h>
 #ifndef __VMS__
 # include <sys/un.h>