Next try on pop up menus. (#ifdef x11).
More SetFocus() work. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3979,7 +3979,8 @@ bool wxWin32InputHandler::HandleMouse(wxInputConsumer *control,
|
||||
{
|
||||
wxWindow *win = control->GetInputWindow();
|
||||
|
||||
if ( wxWindow::FindFocus() != control->GetInputWindow() )
|
||||
if (( wxWindow::FindFocus() != control->GetInputWindow() ) &&
|
||||
( win->AcceptsFocus() ) )
|
||||
{
|
||||
win->SetFocus();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user