---------------------------------------------------------------------------
| 252 | |
| 253 | //--------------------------------------------------------------------------- |
| 254 | void GUI_Main::OnMenu_File_Open_Directory(wxCommandEvent& WXUNUSED(event)) |
| 255 | { |
| 256 | //User interaction |
| 257 | wxDirDialog* Dialog=new wxDirDialog(this, __T("Choose a directory")); |
| 258 | if (Dialog->ShowModal()!=wxID_OK) |
| 259 | return; |
| 260 | wxString DirName=Dialog->GetPath(); |
| 261 | delete Dialog; |
| 262 | |
| 263 | //Configuring |
| 264 | C->Menu_File_Open_Files_Begin(); |
| 265 | C->Menu_File_Open_Files_Continue(String(DirName.c_str())); |
| 266 | |
| 267 | //Showing |
| 268 | View->GUI_Refresh(); |
| 269 | } |
| 270 | |
| 271 | //--------------------------------------------------------------------------- |
| 272 | void GUI_Main::OnMenu_File_Quit(wxCommandEvent& WXUNUSED(event)) |
nothing calls this directly
no test coverage detected