X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6cf894ae2dc66126724a9aee8ba5c62f4d9572a..b5fe7ca67bf3121959a0b5a59afd00c1708f2f03:/interface/wx/textdlg.h?ds=sidebyside diff --git a/interface/wx/textdlg.h b/interface/wx/textdlg.h index 9147e419e4..24c3b80baf 100644 --- a/interface/wx/textdlg.h +++ b/interface/wx/textdlg.h @@ -14,7 +14,7 @@ It is implemented as a generic wxWidgets dialog. - @library{wxbase} + @library{wxcore} @category{cmndlg} @see @ref overview_cmndlg_password @@ -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); @@ -55,7 +57,7 @@ public: This class represents a dialog that requests a one-line text string from the user. It is implemented as a generic wxWidgets dialog. - @library{wxbase} + @library{wxcore} @category{cmndlg} @see @ref overview_cmndlg_textentry @@ -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); @@ -114,7 +118,7 @@ public: // Global functions/macros // ============================================================================ -/** @ingroup group_funcmacro_dialog */ +/** @addtogroup group_funcmacro_dialog */ //@{ /** @@ -129,7 +133,7 @@ public: */ wxString wxGetTextFromUser(const wxString& message, const wxString& caption = "Input text", - const wxString& default_value = "", + const wxString& default_value = wxEmptyString, wxWindow* parent = NULL, int x = wxDefaultCoord, int y = wxDefaultCoord, @@ -144,7 +148,7 @@ wxString wxGetTextFromUser(const wxString& message, */ wxString wxGetPasswordFromUser(const wxString& message, const wxString& caption = "Input text", - const wxString& default_value = "", + const wxString& default_value = wxEmptyString, wxWindow* parent = NULL, int x = wxDefaultCoord, int y = wxDefaultCoord,