]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
fixed bug with lower-case colours in wxColourDatabase::AddColour() (patch 1074865)
[wxWidgets.git] / 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();