wxGetTextFromUser

From WxWiki
Revision as of 18:36, 19 October 2018 by Tierra (talk | contribs) (Text replacement - "<source>" to "<syntaxhighlight lang="cpp">")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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()