projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fe0275
)
implementation should use DoFindFocus
author
Václav Slavík
<vslavik@fastmail.fm>
Wed, 29 Sep 2004 15:30:09 +0000
(15:30 +0000)
committer
Václav Slavík
<vslavik@fastmail.fm>
Wed, 29 Sep 2004 15:30:09 +0000
(15:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29541
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/generic/listctrl.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/generic/listctrl.cpp
b/src/generic/listctrl.cpp
index 00e2e002c369a996dd0aae10b8564c6ef542998c..675685a7b52d9d21c4d22ce13d77c2bc0dd193d0 100644
(file)
--- a/
src/generic/listctrl.cpp
+++ b/
src/generic/listctrl.cpp
@@
-3305,7
+3305,7
@@
void wxListMainWindow::SetFocus()
// focus to the panel from wxListTextCtrl because the text control should
// disappear when the user clicks outside it.
- wxWindow *oldFocus = FindFocus();
+ wxWindow *oldFocus =
Do
FindFocus();
if ( oldFocus && oldFocus->GetParent() == this )
{
@@
-5353,7
+5353,7
@@
void wxGenericListCtrl::SetFocus()
{
/* The test in window.cpp fails as we are a composite
window, so it checks against "this", but not m_mainWin. */
- if ( FindFocus() != this )
+ if (
Do
FindFocus() != this )
m_mainWin->SetFocus();
}