Don't give focus to a frame when clicking outside a focused child
Closes https://github.com/wxWidgets/wxWidgets/pull/1238
This commit is contained in:
parent
0b973fb357
commit
088d698c08
1 changed files with 1 additions and 0 deletions
|
|
@ -242,4 +242,5 @@ wxQtMainWindow::wxQtMainWindow( wxWindow *parent, wxFrame *handler )
|
|||
wxQtCentralWidget::wxQtCentralWidget( wxWindow *parent, wxFrame *handler )
|
||||
: wxQtEventSignalHandler< QScrollArea, wxFrame >( parent, handler )
|
||||
{
|
||||
setFocusPolicy(Qt::NoFocus);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue