Implement Password style for text control under wxQt

This commit is contained in:
oneeyeman1
2018-11-18 23:19:45 -05:00
parent c913f4a3df
commit f790ccee6f

View File

@@ -121,6 +121,8 @@ bool wxTextCtrl::Create(wxWindow *parent,
{
m_qtLineEdit = new wxQtLineEdit( parent, this );
m_qtTextEdit = NULL;
if( style & wxTE_PASSWORD )
m_qtLineEdit->setEchoMode( QLineEdit::Password );
}
else
{