I'm having a problem with a wxTextCtrl inside a wxPopupTransientWindow, that also manifests itself on the popup sample included on wxWidgets. On Linux (Kubuntu 21.04 actually), using GTK3 and wxWidgets 3.1.5, when the popup appears and I click on the wxTextCtrl it is possible to edit the text in it but no caret is shown. On Windows (Windows 7 on a VM actually) the caret is shown and the text is editable.
I've found other posts reporting this issue a few years back but could find no workaround, while on some posts it is claimed that it's not possible to give keyboard focus to controls inside the popup, which does not seem correct. So in 2021 is there a way to fix this ?
wxTextCtrl inside wxPopupTransientWindow
Re: wxTextCtrl inside wxPopupTransientWindow
If you can see the problem in the unmodified sample, please open a bug report at http://trac.wxwidgets.org/
Thanks.
Thanks.
Use the source, Luke!