]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
fix compilo pointed out by OW
[wxWidgets.git] / src / generic / textdlgg.cpp
index fa240b4f500168d5ea274857a4373b32051ba03d..b89b9d5de3c1e61b2cd2819f4f351edcc4e17c26 100644 (file)
@@ -181,4 +181,22 @@ void wxTextEntryDialog::SetTextValidator( wxTextValidator& validator )
 #endif
   // wxUSE_VALIDATORS
 
 #endif
   // wxUSE_VALIDATORS
 
+// ----------------------------------------------------------------------------
+// wxPasswordEntryDialog
+// ----------------------------------------------------------------------------
+
+IMPLEMENT_CLASS(wxPasswordEntryDialog, wxTextEntryDialog)
+
+wxPasswordEntryDialog::wxPasswordEntryDialog(wxWindow *parent,
+                                     const wxString& message,
+                                     const wxString& caption,
+                                     const wxString& value,
+                                     long style,
+                                     const wxPoint& pos)
+                 : wxTextEntryDialog(parent, message, caption, value,
+                                     style | wxTE_PASSWORD, pos)
+{
+    // Only change from wxTextEntryDialog is the password style
+}
+
 #endif // wxUSE_TEXTDLG
 #endif // wxUSE_TEXTDLG