X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77bfb902226a65423999d6d5f15d68ea5398587f..6d62b2e2b1d3360461ed3d28e6a2be1474e99ae4:/interface/wx/textdlg.h diff --git a/interface/wx/textdlg.h b/interface/wx/textdlg.h index e61352fe24..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); @@ -72,7 +74,7 @@ public: Message to show on the dialog. @param caption The caption of the the dialog. - @param defaultValue + @param value The default value, which may be the empty string. @param style A dialog style, specifying the buttons (wxOK, wxCANCEL) @@ -82,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);