]> git.saurik.com Git - wxWidgets.git/commitdiff
[1001483] wxGetPasswordFromUser now uses wxPasswordEntryDialog instead of wxTextEntry...
authorKevin Hock <hockkn@yahoo.com>
Tue, 9 Nov 2004 19:09:58 +0000 (19:09 +0000)
committerKevin Hock <hockkn@yahoo.com>
Tue, 9 Nov 2004 19:09:58 +0000 (19:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/utilscmn.cpp

index cc066591b57bfa2c410f59cdcde27c26b2f9cfc8..9f14c1b3cba250e23a55101c9ebbbe5b3aab431d 100644 (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();