This bug is invalid as wxGTK package is built in Unicode mode and so c_str() returns a wchar_t string which can't be printed with printf(). Use either wprintf() or wxPrintf() or use mb_str() (which you need to cast to const char * when using with a vararg function such as printf()) instead of c_str(). But your code as is simply can't work.
** Changed in: wxwidgets2.6 (Ubuntu) Assignee: (unassigned) => Vadim Zeitlin (vadim-wxwindows) Status: Confirmed => Invalid -- wxGetPasswordFromUser and wxGetTextFromUser return only one character. https://bugs.launchpad.net/bugs/45920 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs