Fix using wxHTTP and wxFTP from worker thread in Unix ports.

This backports e18c8fd29a,
d421373c2e and
6c43aa90b6 from master to avoid crashes when
using wxHTTP or wxFTP from threads other than main.

See #17031.
This commit is contained in:
Vadim Zeitlin
2015-07-09 20:59:38 +02:00
parent b08ca17749
commit e62173c479
7 changed files with 68 additions and 40 deletions

View File

@@ -308,6 +308,9 @@ public:
protected:
wxSocketImpl(wxSocketBase& wxsocket);
// get the associated socket flags
wxSocketFlags GetSocketFlags() const { return m_wxsocket->GetFlags(); }
// true if we're a listening stream socket
bool m_server;