wxGetTextFromUser

From WxWiki
Jump to: navigation, search

wxGetTextFromUser is a dialog function which displays a dialog for the user to enter text.

Example

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

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)

This belongs to the trac system. Is the problem reproducible with latest stable? I'm voting for deleting this page.

See also

wxGetTextFromUser()