It is implemented as a generic wxWidgets dialog.
- @library{wxbase}
+ @library{wxcore}
@category{cmndlg}
@see @ref overview_cmndlg_password
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
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)
// Global functions/macros
// ============================================================================
-/** @ingroup group_funcmacro_dialog */
+/** @addtogroup group_funcmacro_dialog */
//@{
/**
*/
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,
*/
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,