From aafd012809e759bdf351cbcee03d550cb6f5abed Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Thu, 21 Jul 2016 23:53:40 +0200 Subject: [PATCH] Credential dialog is no longer displayed partially off the screen --- lib/TTLS_UI/src/Module.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/TTLS_UI/src/Module.cpp b/lib/TTLS_UI/src/Module.cpp index 8236fcc..98ee9d8 100644 --- a/lib/TTLS_UI/src/Module.cpp +++ b/lib/TTLS_UI/src/Module.cpp @@ -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);