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
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);
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)
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);