| 1593 | */ |
| 1594 | |
| 1595 | void WConfiguration::OnButtonOnscreenkeyboardcommandClick( wxCommandEvent& event ) |
| 1596 | { |
| 1597 | #if defined(__WXMSW__) |
| 1598 | wxFileDialog dlg (this, _("Choose on-screen keyboard command"), _T(""), _T(""), |
| 1599 | _("Executable files|*.exe"), wxFD_OPEN | wxFD_FILE_MUST_EXIST | wxFD_CHANGE_DIR); |
| 1600 | #else |
| 1601 | wxFileDialog dlg (this, _("Choose on-screen keyboard command"), |
| 1602 | _T(""), _T(""), _T("*"), wxFD_OPEN | wxFD_FILE_MUST_EXIST | wxFD_CHANGE_DIR); |
| 1603 | #endif |
| 1604 | |
| 1605 | if (dlg.ShowModal()== wxID_OK) m_txtOnScreenKeyboardCommand->SetValue(dlg.GetPath()); |
| 1606 | |
| 1607 | event.Skip(false); |
| 1608 | } |
| 1609 | |
| 1610 | |
| 1611 | /*! |