| 125 | } |
| 126 | |
| 127 | void XdFileChooserDialog::onSelectionChanged(wxDataViewEvent& ev) |
| 128 | { |
| 129 | wxDataViewItem item = _treeview->GetSelection(); |
| 130 | |
| 131 | if (item.IsOk()) |
| 132 | { |
| 133 | wxutil::TreeModel::Row row(item, *_listStore); |
| 134 | _chosenFile = row[_columns.name]; |
| 135 | |
| 136 | _editorDialog->updateGuiView(this, "", _defName, _chosenFile.substr(_chosenFile.find("/")+1)); |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | } // namespace ui |
nothing calls this directly
no test coverage detected