X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6cf894ae2dc66126724a9aee8ba5c62f4d9572a..4e878f44abee3e03cf981772e9c623f0c16408c9:/interface/wx/textdlg.h?ds=sidebyside diff --git a/interface/wx/textdlg.h b/interface/wx/textdlg.h index 9147e419e4..41df73c85c 100644 --- a/interface/wx/textdlg.h +++ b/interface/wx/textdlg.h @@ -31,6 +31,8 @@ public: Parent window. @param message Message to show on the dialog. + @param caption + The caption of the dialog. @param defaultValue The default value, which may be the empty string. @param style @@ -41,7 +43,7 @@ public: Dialog position. */ wxPasswordEntryDialog(wxWindow* parent, const wxString& message, - const wxString& caption = "Enter password", + const wxString& caption = wxGetPasswordFromUserPromptStr, const wxString& defaultValue = wxEmptyString, long style = wxOK | wxCANCEL | wxCENTRE, const wxPoint& pos = wxDefaultPosition); @@ -70,7 +72,9 @@ public: Parent window. @param message Message to show on the dialog. - @param defaultValue + @param caption + The caption of the the dialog. + @param value The default value, which may be the empty string. @param style A dialog style, specifying the buttons (wxOK, wxCANCEL) @@ -80,8 +84,8 @@ public: Dialog position. */ wxTextEntryDialog(wxWindow* parent, const wxString& message, - const wxString& caption = "Please enter text", - const wxString& defaultValue = "", + const wxString& caption = wxGetTextFromUserPromptStr, + const wxString& value = wxEmptyString, long style = wxOK | wxCANCEL | wxCENTRE, const wxPoint& pos = wxDefaultPosition);