So Ken, did you get a chance to make this change, and if so did it fix
Ter'Angreal for you?
On Sun, Mar 11, 2007 at 04:40:03PM -0700, Ken Taylor wrote:
Peter Amstutz wrote:
On Sun, Mar 11, 2007 at 10:27:52PM +0100, res wrote:
I would say neither is right. Mouse enter and gain focus are
Peter Amstutz wrote:
So, try re-adding SetFocus() to the csGLCanvas::OnEnterWindow()
method (in CS/plugins/video/canvas/wxgl/GLWXDriver2D.cpp).
Then a little later:
So Ken, did you get a chance to make this change, and if so did it fix
Ter'Angreal for you?
Oh yeah, it worked :)
I'm not
So some further investigation has revealed that the problem I've been having
with the wxglcanvas is an issue of keyboard focus. For some reason, the
canvas never gets the keyboard focus in ter'angreal when using my compiled
wxgl.dll. Same deal with wxtest (there's a weird 1x1 window that has the
Bingo! I just reviewed a couple of old checkouts of Crystal Space I
have, and it looks like some one cleaned up (i.e. broke) the plugin.
I orginally had a function:
void csGLCanvas::OnEnterWindow( wxMouseEvent WXUNUSED(event) )
{
SetFocus();
}
Which fixes precisely the keyboard focus
On 11.03.2007 21:22, Peter Amstutz wrote:
Bingo! I just reviewed a couple of old checkouts of Crystal Space I
have, and it looks like some one cleaned up (i.e. broke) the plugin.
I orginally had a function:
void csGLCanvas::OnEnterWindow( wxMouseEvent WXUNUSED(event) )
{
On Sun, Mar 11, 2007 at 10:27:52PM +0100, res wrote:
I would say neither is right. Mouse enter and gain focus are two
distinct events, and a mouse enter generally does not cause a focus
change. Example: focus has an edit field, you want to type something.
For some reason, the mouse gets moved
On 11.03.2007 22:59, Peter Amstutz wrote:
On Sun, Mar 11, 2007 at 10:27:52PM +0100, res wrote:
I would say neither is right. Mouse enter and gain focus are two
distinct events, and a mouse enter generally does not cause a focus
change. Example: focus has an edit field, you want to type