reverted Robert's change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2002-03-09 22:07:52 +00:00
parent 3295e23873
commit 771c7b4a4b

View File

@ -257,13 +257,13 @@ void wxPopupTransientWindow::Popup(wxWindow *winFocus)
// otherwise everything else breaks down
m_focus = FindFocus();
if ( m_focus )
#endif // __WXMSW__
{
delete m_handlerFocus;
m_handlerFocus = new wxPopupFocusHandler(this);
m_focus->PushEventHandler(m_handlerFocus);
}
#endif // __WXMSW__
}
void wxPopupTransientWindow::Dismiss()