* prgodlgg.h: Update() use wxString instead of 'char *'
* wxThread: fixes (all should work fluently now) * wxSocket: it is at last usable on my computer GTK/GLIB problem : reenabling the idle event propagation causes very strange problem (Instruction pointer/memory) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -736,6 +736,8 @@ wxSocketServer::wxSocketServer(wxSockAddress& addr_man,
|
||||
return;
|
||||
}
|
||||
|
||||
m_internal->SetFD(m_fd);
|
||||
|
||||
Notify(TRUE);
|
||||
}
|
||||
|
||||
@@ -767,6 +769,8 @@ bool wxSocketServer::AcceptWith(wxSocketBase& sock)
|
||||
sock.m_fd = fd2;
|
||||
sock.m_connected = TRUE;
|
||||
|
||||
sock.m_internal->SetFD(fd2);
|
||||
|
||||
sock.m_internal->ResumeWaiter();
|
||||
|
||||
return TRUE;
|
||||
@@ -849,6 +853,8 @@ bool wxSocketClient::Connect(wxSockAddress& addr_man, bool WXUNUSED(wait) )
|
||||
if (connect(m_fd, remote, len) != 0)
|
||||
return FALSE;
|
||||
|
||||
m_internal->SetFD(m_fd);
|
||||
|
||||
// Enables bg events.
|
||||
// ------------------
|
||||
Notify(TRUE);
|
||||
|
Reference in New Issue
Block a user