]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/server.cpp
in STL build wxVector elements need to be assignable as well as copy constructible
[wxWidgets.git] / samples / sockets / server.cpp
index 0e2be5b7dce110cb55169c3e68ce799dcaa09c83..cd8fe59d5bf86ac534ed0f025ee21d358a1a7c83 100644 (file)
@@ -36,9 +36,7 @@
 // --------------------------------------------------------------------------
 
 // the application icon
-#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__)
-#  include "mondrian.xpm"
-#endif
+#include "mondrian.xpm"
 
 // --------------------------------------------------------------------------
 // classes
@@ -173,7 +171,11 @@ MyFrame::MyFrame() : wxFrame((wxFrame *)NULL, wxID_ANY,
                            wxTE_MULTILINE | wxTE_READONLY);
 
   // Create the address - defaults to localhost:0 initially
+#if wxUSE_IPV6
+  wxIPV6address addr;
+#else
   wxIPV4address addr;
+#endif
   addr.Service(3000);
 
   // Create the socket