git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18242
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// remember the last focused child if it is our child
m_winLastFocused = FindFocus();
// remember the last focused child if it is our child
m_winLastFocused = FindFocus();
+ if ( m_winLastFocused )
+ {
+ // let it know that it doesn't have focus any more
+ m_winLastFocused->HandleKillFocus(NULL);
+ }
+
// so we NULL it out if it's a child from some other frame
wxWindow *win = m_winLastFocused;
while ( win )
// so we NULL it out if it's a child from some other frame
wxWindow *win = m_winLastFocused;
while ( win )