X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01e13147456744839fd9965838c66aacf22f1480..9de05dfd08c947376321abede3b222c54280758b:/src/generic/textdlgg.cpp diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index fa240b4f50..b89b9d5de3 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -181,4 +181,22 @@ void wxTextEntryDialog::SetTextValidator( wxTextValidator& validator ) #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