| 126 | } |
| 127 | |
| 128 | void MsgDialog::SetButtonLabel(wxWindowID btn_id, const wxString& label, bool set_focus/* = false*/) |
| 129 | { |
| 130 | if (Button* btn = get_button(btn_id)) { |
| 131 | btn->SetLabel(label); |
| 132 | if (set_focus) |
| 133 | btn->SetFocus(); |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | Button* MsgDialog::add_button(wxWindowID btn_id, bool set_focus /*= false*/, const wxString& label/* = wxString()*/) |
| 138 | { |
no test coverage detected