Add wxPasswordEntryDialog default ctor and Create().
Allow creating wxPasswordEntryDialog in 2 steps, as most of the other classes. Closes #15770. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -189,16 +189,16 @@ void wxTextEntryDialog::SetTextValidator( const wxTextValidator& validator )
|
||||
|
||||
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)
|
||||
bool wxPasswordEntryDialog::Create(wxWindow *parent,
|
||||
const wxString& message,
|
||||
const wxString& caption,
|
||||
const wxString& value,
|
||||
long style,
|
||||
const wxPoint& pos)
|
||||
{
|
||||
// Only change from wxTextEntryDialog is the password style
|
||||
return wxTextEntryDialog::Create(parent, message, caption, value,
|
||||
style | wxTE_PASSWORD, pos);
|
||||
}
|
||||
|
||||
#endif // wxUSE_TEXTDLG
|
||||
|
Reference in New Issue
Block a user