WxGetTextFromUser

From WxWiki

Jump to: navigation, search

wxGetTextFromUser displays an dialog in which the user may type in text. It is a dialog function.

[edit] Example

wxString sNewValue = wxGetTextFromUser(wxT("The message"), wxTr("title"), sCurrentValue);


[edit] Issues

It looks like the message string interpretation is buggy. For exemple "Rename to :" will diplay "Rename". I have solved this by adding a trailling character : "Rename to : _" will be displayed as "Rename to :" (note the space between ':' and '_'). (seen on Debian Etch with libwxgtk-2.6.3.2.1.5)

[edit] See also

wxGetTextFromUser

Personal tools