Credential dialog is no longer displayed partially off the screen
This commit is contained in:
parent
3e60bebe3a
commit
aafd012809
@ -103,6 +103,7 @@ bool eap::peer_ttls_ui::invoke_identity_ui(
|
||||
wxEAPCredentialsDialog dlg(cfg_prov, &parent);
|
||||
wxTTLSCredentialsPanel *panel = new wxTTLSCredentialsPanel(cfg_prov, *cfg_method, cred, cfg_prov.m_id.c_str(), &dlg);
|
||||
dlg.AddContents((wxPanel**)&panel, 1);
|
||||
dlg.Centre(wxBOTH);
|
||||
result = dlg.ShowModal();
|
||||
|
||||
wxTopLevelWindows.DeleteObject(&parent);
|
||||
|
Loading…
x
Reference in New Issue
Block a user