Changed instal path for setup.h
changed socket stream inheritance to virtual removed a few more warnings from the samples corrected thread habdling in configure.in removed dancing sliders from scrollbars corrected notebook send event bug and added it the controls sample git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -458,11 +458,7 @@ bool wxSocketBase::GetPeer(wxSockAddress& addr_man) const
|
||||
if (m_fd < 0)
|
||||
return FALSE;
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
if (getpeername(m_fd, (struct sockaddr *)&my_addr, (int *)&len_addr) < 0)
|
||||
#else
|
||||
if (getpeername(m_fd, (struct sockaddr *)&my_addr, (unsigned int *)&len_addr) < 0)
|
||||
#endif
|
||||
return FALSE;
|
||||
|
||||
addr_man.Disassemble(&my_addr, len_addr);
|
||||
@@ -477,11 +473,7 @@ bool wxSocketBase::GetLocal(wxSockAddress& addr_man) const
|
||||
if (m_fd < 0)
|
||||
return FALSE;
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
if (getsockname(m_fd, (struct sockaddr *)&my_addr, (int *)&len_addr) < 0)
|
||||
#else
|
||||
if (getsockname(m_fd, (struct sockaddr *)&my_addr, (unsigned int *)&len_addr) < 0)
|
||||
#endif
|
||||
return FALSE;
|
||||
|
||||
addr_man.Disassemble(&my_addr, len_addr);
|
||||
|
Reference in New Issue
Block a user