MCPcopy Create free account
hub / github.com/cmauri/eviacam / OnButtonOnscreenkeyboardcommandClick

Method OnButtonOnscreenkeyboardcommandClick

src/wconfiguration.cpp:1595–1608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1593 */
1594
1595void 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/*!

Callers

nothing calls this directly

Calls 1

SetValueMethod · 0.80

Tested by

no test coverage detected