Hi, friends.
I have a listbox and a textctrl on a panel which is a child of a wxPopupTransientWindow.
In a dialog, if a button clicked, the wxPopupTransientWindow popuped by calling it Popup function. I find that the listbox and textctrl both can not get focus and can not answer mouse and key events. thank u for help me solve this problem.
wxPopupTransientWindow with controls on it
-
- Knows some wx things
- Posts: 47
- Joined: Fri Dec 14, 2007 1:10 am
-
- Knows some wx things
- Posts: 47
- Joined: Fri Dec 14, 2007 1:10 am
-
- Knows some wx things
- Posts: 47
- Joined: Fri Dec 14, 2007 1:10 am
Thank you, Eran!eranif wrote:Have a look at the wxWidgets samples, they contains a demo for using wxPopupTransientWindow with controls on it (samples/popup)
Eran
I've already compiled and run the sample before I post this question. As a result, the button and spin control works normally, but the edit control can not accept key types.
-
- Earned a small fee
- Posts: 14
- Joined: Tue May 31, 2016 11:30 am
Re: wxPopupTransientWindow with controls on it
Found another reference to this problem: http://trac.wxwidgets.org/ticket/13740