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:
@@ -257,13 +257,13 @@ void wxPopupTransientWindow::Popup(wxWindow *winFocus)
|
|||||||
// otherwise everything else breaks down
|
// otherwise everything else breaks down
|
||||||
m_focus = FindFocus();
|
m_focus = FindFocus();
|
||||||
if ( m_focus )
|
if ( m_focus )
|
||||||
|
#endif // __WXMSW__
|
||||||
{
|
{
|
||||||
delete m_handlerFocus;
|
delete m_handlerFocus;
|
||||||
m_handlerFocus = new wxPopupFocusHandler(this);
|
m_handlerFocus = new wxPopupFocusHandler(this);
|
||||||
|
|
||||||
m_focus->PushEventHandler(m_handlerFocus);
|
m_focus->PushEventHandler(m_handlerFocus);
|
||||||
}
|
}
|
||||||
#endif // __WXMSW__
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxPopupTransientWindow::Dismiss()
|
void wxPopupTransientWindow::Dismiss()
|
||||||
|
Reference in New Issue
Block a user