65 HDBManager* manager = wxGetApp().mainFrame().hdbManager();
67 if (manager == NULL) {
74 wxString plugins[100];
76 std::map<int, RowID> rowIDs;
77 std::set<RowID>::iterator iter = pluginIDs.begin();
78 plugins[0] = _T(
"NONE");
82 for (;iter != pluginIDs.end(); iter++) {
96 wxSingleChoiceDialog dialog(
98 _T(
"Choose Cost Function Pluhin"),
101 if (dialog.ShowModal() != wxID_OK) {
109 if (dialog.GetSelection() > 0) {
111 entryID, rowIDs[dialog.GetSelection()]);
115 wxGetApp().mainFrame().update();
121 if (dialog.GetSelection() > 0) {
123 entryID, rowIDs[dialog.GetSelection()]);
127 wxGetApp().mainFrame().update();
177 if (manager == NULL) {