[1001483] wxGetPasswordFromUser now uses wxPasswordEntryDialog instead of wxTextEntryDialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Hock 2004-11-09 19:09:58 +00:00
parent 4cee05ac00
commit 12cfa30457

View File

@ -820,8 +820,8 @@ wxString wxGetPasswordFromUser(const wxString& message,
else
style &= ~wxCENTRE;
wxTextEntryDialog dialog(parent, message, caption, defaultValue,
style | wxTE_PASSWORD, wxPoint(x, y));
wxPasswordEntryDialog dialog(parent, message, caption, defaultValue,
style, wxPoint(x, y));
if ( dialog.ShowModal() == wxID_OK )
{
str = dialog.GetValue();