wxX11:
Corrected TLW positiong.
Added experimental code for synthesizing focus events.
Minor clean-ups.
Added for-now unused code for default/focus widget.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3935,6 +3935,7 @@ bool wxWin32InputHandler::HandleMouse(wxInputConsumer *control,
|
||||
if ( event.ButtonDown() )
|
||||
{
|
||||
wxWindow *win = control->GetInputWindow();
|
||||
|
||||
if ( wxWindow::FindFocus() != control->GetInputWindow() )
|
||||
{
|
||||
win->SetFocus();
|
||||
|
||||
Reference in New Issue
Block a user