X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3bb2a742781bab68da4a5e40f355784ffa79c23..d0430ee2bab2a2c12485f64f003b2d4573a946e8:/src/common/utilscmn.cpp diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index cc066591b5..9f14c1b3cb 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -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();