]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/gsockpm.cpp
don't use deprecated toolbar API
[wxWidgets.git] / src / os2 / gsockpm.cpp
index ef80cd130e3c13e1c3fd8980168f9291b00a76af..a02d29ef6f7f626b8046cc922ca8935c02a5dc3d 100644 (file)
@@ -12,9 +12,9 @@
 #if wxUSE_SOCKETS
 
 #include <stdlib.h>
 #if wxUSE_SOCKETS
 
 #include <stdlib.h>
-#include "wx/unix/gsockunx.h"
 #include "wx/gsocket.h"
 #include "wx/app.h"
 #include "wx/gsocket.h"
 #include "wx/app.h"
+#include "wx/apptrait.h"
 
 #define wxSockReadMask  0x01
 #define wxSockWriteMask 0x02
 
 #define wxSockReadMask  0x01
 #define wxSockWriteMask 0x02
@@ -53,7 +53,7 @@ public:
 
 GSocketManager *wxGUIAppTraits::GetSocketManager()
 {
 
 GSocketManager *wxGUIAppTraits::GetSocketManager()
 {
-    static GTKSocketManager s_manager;
+    static PMSocketManager s_manager;
     return &s_manager;
 }
 
     return &s_manager;
 }