| 1147 | |
| 1148 | /// |
| 1149 | void MacrosWindow::OnExport(wxCommandEvent & WXUNUSED(event)) |
| 1150 | { |
| 1151 | long item = mMacros->GetNextItem(-1, |
| 1152 | wxLIST_NEXT_ALL, |
| 1153 | wxLIST_STATE_SELECTED); |
| 1154 | if (item == -1) { |
| 1155 | return; |
| 1156 | } |
| 1157 | |
| 1158 | mMacroCommands.WriteMacro(mMacros->GetItemText(item), this); |
| 1159 | } |
| 1160 | |
| 1161 | void MacrosWindow::OnSave(wxCommandEvent & WXUNUSED(event)) |
| 1162 | { |
nothing calls this directly
no test coverage detected