MCPcopy Create free account
hub / github.com/amule-project/amule / SendMessage

Method SendMessage

src/ChatWnd.cpp:216–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214
215
216void CChatWnd::SendMessage(const wxString& message, const wxString& client_name, uint64 to_id)
217{
218
219 if (chatselector->SendMessage( message, client_name, to_id )) {
220 CastChild(IDC_CMESSAGE, wxTextCtrl)->Clear();
221 }
222
223 // Check to enable the window controls if needed
224 CheckNewButtonsState();
225 CastChild(IDC_CMESSAGE, wxTextCtrl)->SetFocus();
226}
227
228
229void CChatWnd::CheckNewButtonsState()

Callers 2

OnSendMessageMethod · 0.45
ChatSendCaptchaFunction · 0.45

Calls 2

SetFocusMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected