Initial version of GTC Challenge/Response panel added

This commit is contained in:
2017-01-31 14:54:13 +01:00
parent 4c1d4b0580
commit cfc241d3a6
8 changed files with 652 additions and 2 deletions

View File

@@ -56,3 +56,19 @@ void wxGTCConfigPanel::OnInitDialog(wxInitDialogEvent& event)
m_credentials->GetEventHandler()->ProcessEvent(event);
}
/// \endcond
//////////////////////////////////////////////////////////////////////
// wxGTCResponsePanel
//////////////////////////////////////////////////////////////////////
wxGTCResponsePanel::wxGTCResponsePanel(const eap::config_provider &prov, eap::config_method_eapgtc &cfg, wxWindow* parent) : wxGTCResponsePanelBase(parent)
{
UNREFERENCED_PARAMETER(prov);
UNREFERENCED_PARAMETER(cfg);
// Load and set icon.
winstd::library lib_shell32;
if (lib_shell32.load(_T("shell32.dll"), NULL, LOAD_LIBRARY_AS_DATAFILE | LOAD_LIBRARY_AS_IMAGE_RESOURCE))
m_response_icon->SetIcon(wxLoadIconFromResource(lib_shell32, MAKEINTRESOURCE(24)));
}