TRUE not true; FALSE not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -383,7 +383,7 @@ bool wxTCPConnection::Disconnect ()
|
||||
m_codeco->Write8(IPC_DISCONNECT);
|
||||
m_sock->Notify(FALSE);
|
||||
m_sock->Close();
|
||||
SetConnected(false);
|
||||
SetConnected(FALSE);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
@@ -660,7 +660,7 @@ void wxTCPEventHandler::Client_OnRequest(wxSocketEvent &event)
|
||||
{
|
||||
sock->Notify(FALSE);
|
||||
sock->Close();
|
||||
connection->SetConnected(false);
|
||||
connection->SetConnected(FALSE);
|
||||
connection->OnDisconnect();
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user