X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c2896013b8be85955c6f5155deb1aec467e00eb..99e839da3c9c40a3dac7cf1bb841d6459fcac1b0:/src/unix/gsocket.cpp?ds=sidebyside diff --git a/src/unix/gsocket.cpp b/src/unix/gsocket.cpp index 33785cc31f..28bbb98194 100644 --- a/src/unix/gsocket.cpp +++ b/src/unix/gsocket.cpp @@ -1404,7 +1404,7 @@ void GSocketBSD::Detected_Write() /* Compatibility functions for GSocket */ GSocket *GSocket_new(void) { - GSocket *newsocket = wxTheApp->GetTraits()->CreateGSocket(); + GSocket *newsocket = new GSocketBSDGUIShim(); if(newsocket->IsOk()) return newsocket; delete newsocket;