mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-14 13:49:51 +00:00
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:
parent
a1706ed9f4
commit
c1cc812a7b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user