| 214 | |
| 215 | |
| 216 | void 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 | |
| 229 | void CChatWnd::CheckNewButtonsState() |
no test coverage detected