This should force the GS frame focus properly when doing a system execute.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2841 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2010-04-13 13:27:34 +00:00
parent a1706ed9f4
commit c1cc812a7b

View File

@ -409,6 +409,13 @@ void GSFrame::OnMove( wxMoveEvent& evt )
//lastpos = evt.GetPosition();
}
void GSFrame::SetFocus()
{
_parent::SetFocus();
if( GSPanel* gsPanel = GetViewport() )
gsPanel->SetFocusFromKbd();
}
void GSFrame::OnResize( wxSizeEvent& evt )
{
if( IsBeingDeleted() ) return;