X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e483648882a788debfa5314914190a4c6df1059e..375bb200e33ce37502f0e4fbeed539aaacc8c722:/wxPython/src/_cmndlgs.i diff --git a/wxPython/src/_cmndlgs.i b/wxPython/src/_cmndlgs.i index 1e4c13c7de..9ca5cc301f 100644 --- a/wxPython/src/_cmndlgs.i +++ b/wxPython/src/_cmndlgs.i @@ -252,7 +252,6 @@ example:: void , SetFilterIndex(int filterIndex), "Sets the default filter index, starting from zero.", ""); - DocDeclStr( wxString , GetMessage() const, "Returns the message that will be displayed on the dialog.", ""); @@ -439,7 +438,7 @@ public: const wxString& message, const wxString& caption = wxPyGetTextFromUserPromptStr, const wxString& defaultValue = wxPyEmptyString, - long style = wxOK | wxCANCEL | wxCENTRE, + long style = wxTextEntryDialogStyle, const wxPoint& pos = wxDefaultPosition), "Constructor. Use ShowModal method to show the dialog.", ""); @@ -455,6 +454,21 @@ or the original value if the user has pressed Cancel.", ""); //--------------------------------------------------------------------------- +MAKE_CONST_WXSTRING(GetPasswordFromUserPromptStr); + +class wxPasswordEntryDialog : public wxTextEntryDialog +{ +public: + wxPasswordEntryDialog(wxWindow *parent, + const wxString& message, + const wxString& caption = wxPyGetPasswordFromUserPromptStr, + const wxString& value = wxPyEmptyString, + long style = wxTextEntryDialogStyle, + const wxPoint& pos = wxDefaultPosition); +}; + +//--------------------------------------------------------------------------- + DocStr(wxFontData, "This class holds a variety of information related to font dialogs and