projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Account for the margins used by Windows around status bar text.
[wxWidgets.git]
/
src
/
common
/
mousemanager.cpp
diff --git
a/src/common/mousemanager.cpp
b/src/common/mousemanager.cpp
index 0e9475f580ab86683082797be5be2fe906abc8a5..20849a0167ae489cf12a8488105f723e079242e7 100644
(file)
--- a/
src/common/mousemanager.cpp
+++ b/
src/common/mousemanager.cpp
@@
-103,6
+103,7
@@
void wxMouseEventsManager::OnLeftDown(wxMouseEvent& event)
}
m_state = State_Pressed;
+ m_win->SetFocus();
m_win->CaptureMouse();
MouseClickBegin(m_item);
}