[1001483] Added wxPasswordEntryDialog analagous to wxTextEntryDialog, allows detecting entering an empty string vs. cancel unlike the wxGetPasswordFromUser dialog function.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Hock
2004-11-09 19:13:15 +00:00
parent 12cfa30457
commit 55b46fd164
4 changed files with 71 additions and 1 deletions

42
docs/latex/wx/passdlg.tex Normal file
View File

@@ -0,0 +1,42 @@
\section{\class{wxPasswordEntryDialog}}\label{wxpasswordentrydialog}
This class represents a dialog that requests a one-line password string from the user.
It is implemented as a generic wxWidgets dialog.
\wxheading{Derived from}
\helpref{wxTextEntryDialog}{wxtextentrydialog}\\
\helpref{wxDialog}{wxdialog}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/textdlg.h>
\wxheading{See also}
\helpref{wxPassowrdEntryDialog overview}{wxpasswordentrydialogoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxPasswordEntryDialog::wxPasswordEntryDialog}\label{wxpasswordentrydialogctor}
\func{}{wxPasswordEntryDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message},\rtfsp
\param{const wxString\& }{caption = "Enter password"}, \param{const wxString\& }{defaultValue = ""}, \param{long }{style = wxOK \pipe wxCANCEL \pipe wxCENTRE}, \param{const wxPoint\& }{pos = wxDefaultPosition}}
Constructor. Use \helpref{wxTextEntryDialog::ShowModal}{wxtextentrydialogshowmodal} to show the dialog.
\wxheading{Parameters}
\docparam{parent}{Parent window.}
\docparam{message}{Message to show on the dialog.}
\docparam{defaultValue}{The default value, which may be the empty string.}
\docparam{style}{A dialog style, specifying the buttons (wxOK, wxCANCEL)
and an optional wxCENTRE style. You do not need to specify the wxTE_PASSWORD style, it is always applied.
\docparam{pos}{Dialog position.}