Little changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia
1999-09-07 16:23:46 +00:00
parent 881eba2c0d
commit 2618484fed
2 changed files with 6 additions and 6 deletions

View File

@@ -143,7 +143,7 @@ MyFrame::MyFrame():
sock = new MyClient();
sock->SetFlags((wxSocketBase::wxSockFlags) (wxSocketBase::WAITALL | wxSocketBase::SPEED));
sock->frame = this;
sock->SetNotify(GSOCK_LOST_FLAG);
sock->SetNotify(wxSOCKET_LOST_FLAG);
CreateStatusBar(2);
UpdateStatus();
}
@@ -281,7 +281,7 @@ void MyFrame::OnExecTest1(wxCommandEvent& WXUNUSED(evt))
/* No 2 */
sock->SetEventHandler(*this, SKDEMO_SCK);
sock->SetNotify(GSOCK_INPUT_FLAG | GSOCK_LOST_FLAG);
sock->SetNotify(wxSOCKET_INPUT_FLAG | wxSOCKET_LOST_FLAG);
sock->Notify(TRUE);
text_win->WriteText("Test 1B: sending bytes to the server\n");