Re: [wxVTK] [ wxvtk-Bugs-1919659 ] keyboard events not caught
Brought to you by:
malat
|
From: Mathieu M. <mat...@gm...> - 2008-04-14 15:08:56
|
Hello, On Mon, Apr 14, 2008 at 4:25 PM, Juha-Ville Juntunen <jul...@gm...> wrote: > Hi Mathieu, > > Tried HEAD version on Gentoo with wxSample and the problem is still there. > > Btw. I noticed > > this->SetFocus() > > added into OnButtonDown(event) method, but it's #ifdefine'd only for Mac OSX > and Windows. If I take those #ifdefines out, behaviour changes a bit:I still > don't get keyboard events caught by wxVTK when I enter the wxSample window, > but after I click the window keyevents are caught. Is there reason > SetFocus() is not meant to be invoked on linux ? Simply because you are the first person to have this issue :) Well it looks like the patch was not tested under linux, or at least not under your specific configuration. I am pretty sure this is again a GTK 1.X vs GTK 2.x problem. I'll add the SetFocus for everybody, and hope that someone complains back if I broke anything :) Thanks again for your time, your feedback is extremely important, as I cannot test all possible configurations. -- Mathieu |