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:
David Webster
2002-09-14 02:09:52 +00:00
parent 21e3b8620a
commit b7282ad267
3 changed files with 11 additions and 11 deletions

View File

@@ -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;
}